vcpkg/ports/sundials/uwp-c4703-warning.patch
2018-06-12 22:22:18 -07:00

13 lines
326 B
Diff

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)