From fb2e3d15e5eed6dfb64ef08130d055dee3e2f237 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 28 Sep 2023 10:47:59 +1000 Subject: [PATCH] remove explicit iterator debug level on Windows --- example/windows/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>")