diff --git a/CMakeLists.txt b/CMakeLists.txt index a52da9deada1dbbd6b45ba52038215f87ee64dc3..0b8d4676957fbd8b7ea5f5237f95a9ce2bddf5a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xHost" ) elseif( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0 /bigobj") + add_compile_options("-D_ITERATOR_DEBUG_LEVEL=0") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") endif()