vcpkg/ports/sundials/uwp-c4703-warning.patch

13 lines
326 B
Diff
Raw Normal View History

2018-06-13 13:15:10 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4030f4d..afef556 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -602,6 +602,7 @@ MARK_AS_ADVANCED(FORCE SUNDIALS_DEVTESTS)
IF(WIN32)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
+ ADD_COMPILE_OPTIONS(/wd4703) # Needed for uwp
ENDIF(WIN32)
IF(APPLE)