vcpkg/ports/brotli/fix-arm-uwp.patch
DownerCase 6bf5ffffe8
[brotli] Update to v1.1.0 (#33665)
* [brotli] Update to v1.1.0

* Fix dependent ports

* [Freetype] Always link brotli common
2023-09-26 00:28:57 -07:00

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)