pineapple-src/externals/vcpkg/ports/pcre2/pcre2-10.35_fix-uwp.patch

11 lines
300 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
--- 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)