aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch
blob: 16d8d7711cb8f41cc91769d0ac5f11f686bf7bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)