diff --git a/example/windows/CMakeLists.txt b/example/windows/CMakeLists.txt index 145690fe..171ea5e3 100644 --- a/example/windows/CMakeLists.txt +++ b/example/windows/CMakeLists.txt @@ -32,7 +32,7 @@ add_definitions(-DUNICODE -D_UNICODE) # Compilation settings that should be applied to most targets. function(APPLY_STANDARD_SETTINGS TARGET) target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W0 /wd"4100" /D_ITERATOR_DEBUG_LEVEL=2) + target_compile_options(${TARGET} PRIVATE /W0 /wd"4100") target_compile_options(${TARGET} PRIVATE /EHsc) target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>")