2020-02-26 06:18:40 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-09-26 15:28:57 +08:00
|
|
|
index d868883..e4c5ecc 100644
|
2020-02-26 06:18:40 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-09-26 15:28:57 +08:00
|
|
|
@@ -114,6 +114,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
2020-02-26 06:18:40 +08:00
|
|
|
add_definitions(-DOS_MACOSX)
|
2023-09-26 15:28:57 +08:00
|
|
|
set(CMAKE_MACOS_RPATH TRUE)
|
|
|
|
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
2020-02-26 06:18:40 +08:00
|
|
|
+elseif(MSVC)
|
|
|
|
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
|
|
endif()
|
|
|
|
|
2023-09-26 15:28:57 +08:00
|
|
|
if(BROTLI_EMSCRIPTEN)
|