yuzu/externals/vcpkg/ports/brotli/fix-arm-uwp.patch

14 lines
424 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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)