cmake: let CMake choose when adding /DNDEBUG on windows

ref: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/Platform/Windows-MSVC.cmake?ref_type=heads#L489-L491
This commit is contained in:
Corentin Le Molgat
2024-07-16 23:30:26 -07:00
parent a256bcfd42
commit 99a1f7aa35
3 changed files with 0 additions and 3 deletions

View File

@@ -82,7 +82,6 @@ if(MSVC)
"/D_CRT_SECURE_NO_DEPRECATE"
"/MP" # Build with multiple processes
"/Zc:preprocessor" # Enable preprocessor conformance mode
"/DNDEBUG"
"/fp:precise"
)
# MSVC warning suppressions

View File

@@ -27,7 +27,6 @@ if(MSVC)
"/D_CRT_SECURE_NO_WARNINGS"
"/D_CRT_SECURE_NO_DEPRECATE"
"/MP" # Build with multiple processes
"/DNDEBUG"
)
# MSVC warning suppressions
list(APPEND FLATZINC_COMPILE_OPTIONS

View File

@@ -180,7 +180,6 @@ if(MSVC)
"/D_CRT_SECURE_NO_DEPRECATE"
"/MP" # Build with multiple processes
"/Zc:preprocessor" # Enable preprocessor conformance mode
"/DNDEBUG"
)
# MSVC warning suppressions
list(APPEND GLOP_COMPILE_OPTIONS