Disable warning c4996.
@@ -390,6 +390,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(TINYSPLINE_LIBRARY_C_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4710")
set(TINYSPLINE_LIBRARY_C_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4820")
set(TINYSPLINE_LIBRARY_C_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4232")
+ set(TINYSPLINE_LIBRARY_C_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4996")
# TINYSPLINE_LIBRARY_CXX_FLAGS
set(TINYSPLINE_LIBRARY_CXX_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /Wall")
@@ -399,6 +400,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(TINYSPLINE_LIBRARY_CXX_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4350")
set(TINYSPLINE_LIBRARY_CXX_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4820")
set(TINYSPLINE_LIBRARY_CXX_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4232")
+ set(TINYSPLINE_LIBRARY_CXX_FLAGS "${TINYSPLINE_LIBRARY_CXX_FLAGS} /wd4996")
# TINYSPLINE_BINDING_CXX_FLAGS
set(TINYSPLINE_BINDING_CXX_FLAGS "${TINYSPLINE_BINDING_CXX_FLAGS} /w")
