diff --git a/CMakeLists.txt b/CMakeLists.txt index 2404f05c3..cd8db9a80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,6 +146,7 @@ include_directories( link_directories(${Boost_LIBRARY_DIRS}) if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS) add_definitions(/wd4251 /wd4275 /wd4251) # Disable non-DLL-exported base class warnings endif()