Skip to content

Commit 51496b5

Browse files
author
Christos Konstantinos Matzoros
committed
add -DNDEBUG with RelWithDebInfo
1 parent a7adf79 commit 51496b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ target_compile_options(ProjectExecutableFlags INTERFACE
111111
# Else (not Debug)
112112
$<IF:$<CONFIG:RelWithDebInfo>,
113113
# RelWithDebInfo flags
114-
-O3;-g,
114+
-O3;-g;-DNDEBUG,
115115
# Release and other/custom flags
116116
-O3;-DNDEBUG
117117
>

0 commit comments

Comments
 (0)