summaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-06-06 19:26:57 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-06-06 19:26:57 +0200
commit71f6250bc1a441412a41bd96549842293b436947 (patch)
tree893c1dea7d4d3bb99090185ae4b6f890c1b4b7d2
parent5664919715a50ec55dcf286374423b6542aa0412 (diff)
add /Od to msvc in Realease build
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04aafc1..0f4c459 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,7 +55,7 @@ ELSE()
ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -fno-rtti)
#ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed)
ELSEIF(MSVC)
- ADD_COMPILE_OPTIONS(/O2 /TC /W0)
+ ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od)
ENDIF()
ENDIF()