Rewrote one expression to reduce the number of variables.

This commit is contained in:
Pietro Gagliardi 2019-03-25 10:46:41 -04:00
parent c449ab7da9
commit 87f2be6849
1 changed files with 1 additions and 2 deletions

View File

@ -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