From 0fb4121465c7123e2e8b22370367cdd9179e5ae7 Mon Sep 17 00:00:00 2001 From: Krzysztof Piaskowy Date: Wed, 13 Nov 2024 11:32:48 +0100 Subject: [PATCH] test windows v7 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5299c8e71c0..f17171dc86c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -567,8 +567,8 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC") # Similar to GCC/Clang above, disable strict signed integer overflow. # append("/d2UndefIntOverflow-" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - string(APPEND CMAKE_C_FLAGS " /d2UndefIntOverflow") - string(APPEND CMAKE_CXX_FLAGS " /d2UndefIntOverflow") + string(APPEND CMAKE_C_FLAGS " -d2UndefIntOverflow-") + string(APPEND CMAKE_CXX_FLAGS " -d2UndefIntOverflow-") endif() # Export a JSON file with the compilation commands that external tools can use