aboutsummaryrefslogtreecommitdiff
path: root/ports/pcre2/pcre2-10.35_fix-uwp.patch
blob: 476dde0f6a4ccb3873892e5ce5129f669e1112ff (plain)
1
2
3
4
5
6
7
8
9
10
--- a/CMakeLists.txt	2020-05-09 16:43:10.000000000 +0200
+++ b/CMakeLists.txt	2020-06-03 20:57:17.026182500 +0200
@@ -619,6 +619,7 @@
 
 IF(MSVC)
   ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS)
+  add_compile_options(/wd4146)
 ENDIF(MSVC)
 
 SET(CMAKE_INCLUDE_CURRENT_DIR 1)