aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch')
-rw-r--r--vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch b/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch
new file mode 100644
index 0000000..16d8d77
--- /dev/null
+++ b/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch
@@ -0,0 +1,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)