diff --git a/CMakeLists.txt b/CMakeLists.txt index bdbd25abf..7096eaa44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,7 +170,7 @@ 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 + add_definitions(/wd4251 /wd4275 /wd4251 /wd4661 /wd4344) # Disable non-DLL-exported base class and other warnings endif() if(GTSAM_ENABLE_CONSISTENCY_CHECKS)