Skip to content

Commit 1bb83af

Browse files
committed
Remove extra NDEBUG
1 parent 9f26e7a commit 1bb83af

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

meson.build

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project('SU2', 'c', 'cpp',
55
license: 'LGPL2',
66
default_options: ['buildtype=release',
77
'warning_level=0',
8-
'b_ndebug=true',
8+
'b_ndebug=if-release',
99
'c_std=c99',
1010
'cpp_std=c++17'])
1111

@@ -120,11 +120,6 @@ if get_option('enable-cgns')
120120
su2_cpp_args += '-DHAVE_CGNS'
121121
endif
122122

123-
# check for non-debug build
124-
if get_option('buildtype')!='debug'
125-
su2_cpp_args += '-DNDEBUG'
126-
endif
127-
128123
# check for mixed precision floating point arithmetic
129124
if get_option('enable-mixedprec')
130125
su2_cpp_args += '-DUSE_MIXED_PRECISION'

0 commit comments

Comments
 (0)