mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 18:19:00 +08:00
c6b58e366a
* [brotli] Fix build failure on arm64-uwp * update baseline
14 lines
424 B
Diff
14 lines
424 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e6c6054..2c4b757 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -124,6 +124,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|
add_definitions(-DOS_FREEBSD)
|
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
add_definitions(-DOS_MACOSX)
|
|
+elseif(MSVC)
|
|
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
endif()
|
|
|
|
function(transform_sources_list INPUT_FILE OUTPUT_FILE)
|