bergamot-translator/vcpkg-override/ports/pcre2/pcre2-10.35_fix-uwp.patch
2021-11-05 20:48:28 +00:00

11 lines
300 B
Diff

--- 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)