diff --git a/CMakeLists.txt b/CMakeLists.txt index d5586a32..7722afa8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,10 @@ if (BUILD_TESTS) #endforeach(source) endif() +if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS) +endif() + # EXAMPLES # --------