From 87f2be68498f4b9c60a717f1b0abd174320b920d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 25 Mar 2019 10:46:41 -0400 Subject: [PATCH] Rewrote one expression to reduce the number of variables. --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 37264253..58d1c076 100644 --- a/meson.build +++ b/meson.build @@ -67,8 +67,7 @@ if libui_mode == 'both' endif # TODO there has to be a better way to specify this -libui_buildtype = get_option('buildtype') -libui_is_debug = libui_buildtype == 'debug' or libui_buildtype == 'debugoptimized' +libui_is_debug = get_option('buildtype').startswith('debug') if libui_OS == 'darwin' # TODO see if there's a more direct way to set this