diff --git a/meson.build b/meson.build index 17db11f..dba2f62 100644 --- a/meson.build +++ b/meson.build @@ -29,7 +29,7 @@ if git.found() endif endif -if buildtype != 'debug' and buildtype != 'debugoptimized' +if buildtype == 'release' c_args += '-DNDEBUG' endif