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)
