diff options
| author | Thomas Rohloff <v10lator@myway.de> | 2025-07-19 12:49:17 +0200 |
|---|---|---|
| committer | Thomas Rohloff <v10lator@myway.de> | 2025-07-19 12:49:17 +0200 |
| commit | 20cba1b5c2f249865790ed891fcbf99da668cabe (patch) | |
| tree | 36633b15cec52f8267063c09fc588cf1d6f79a48 /CMakeLists.txt | |
| parent | 4fdded9dbc878e06da6262fcc158a069858afbf8 (diff) | |
Don't enable obsolete and broken debugging in debug builds
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1534a03f6..88b475807 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,8 +153,8 @@ endif() ################################################################################ # Global configuration types ################################################################################ -set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG ${COMMON_C_FLAGS}") -set(CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG ${COMMON_CXX_FLAGS}") +set(CMAKE_C_FLAGS_DEBUG "-g -DNDEBUG ${COMMON_C_FLAGS}") +set(CMAKE_CXX_FLAGS_DEBUG "-g -DNDEBUG ${COMMON_CXX_FLAGS}") set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG ${COMMON_C_FLAGS}") set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG ${COMMON_CXX_FLAGS}") |
