vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch

13 lines
291 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c970996..523bdcb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -894,6 +894,7 @@ endif()
if(MSVC)
add_compile_definitions(_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS)
+ add_compile_options(/wd4146)
endif()
set(TARGETS)