mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 14:39:08 +08:00
6bf5ffffe8
* [brotli] Update to v1.1.0 * Fix dependent ports * [Freetype] Always link brotli common
14 lines
401 B
Diff
14 lines
401 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d868883..e4c5ecc 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -114,6 +114,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
add_definitions(-DOS_MACOSX)
|
|
set(CMAKE_MACOS_RPATH TRUE)
|
|
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
|
+elseif(MSVC)
|
|
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
endif()
|
|
|
|
if(BROTLI_EMSCRIPTEN)
|