More boolean.to_string() fixes in meson.builds
This commit is contained in:
parent
bbefc9970f
commit
3ab697d05f
@ -9,4 +9,4 @@ elif host_platform == 'emscripten'
|
|||||||
else
|
else
|
||||||
client_files += files('Libcurl.cpp')
|
client_files += files('Libcurl.cpp')
|
||||||
endif
|
endif
|
||||||
conf_data.set('NOHTTP', not enable_http ? 'true' : 'false')
|
conf_data.set('NOHTTP', (not enable_http).to_string())
|
||||||
|
@ -73,9 +73,9 @@ else
|
|||||||
'DdirCommon.cpp',
|
'DdirCommon.cpp',
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
conf_data.set('SET_WINDOW_ICON', set_window_icon ? 'true' : 'false')
|
conf_data.set('SET_WINDOW_ICON', set_window_icon.to_string())
|
||||||
conf_data.set('PATH_SEP_CHAR', path_sep_char)
|
conf_data.set('PATH_SEP_CHAR', path_sep_char)
|
||||||
conf_data.set('USE_BLUESCREEN', use_bluescreen ? 'true' : 'false')
|
conf_data.set('USE_BLUESCREEN', use_bluescreen.to_string())
|
||||||
|
|
||||||
can_install = get_option('can_install')
|
can_install = get_option('can_install')
|
||||||
if can_install == 'auto'
|
if can_install == 'auto'
|
||||||
@ -90,5 +90,5 @@ endif
|
|||||||
if can_install != 'no' and can_install_enforce_no
|
if can_install != 'no' and can_install_enforce_no
|
||||||
error('cannot provide install support, configure with -Dcan_install=no to fix this error')
|
error('cannot provide install support, configure with -Dcan_install=no to fix this error')
|
||||||
endif
|
endif
|
||||||
conf_data.set('CAN_INSTALL', can_install != 'no' ? 'true' : 'false')
|
conf_data.set('CAN_INSTALL', (can_install != 'no').to_string())
|
||||||
conf_data.set('INSTALL_CHECK', can_install == 'yes_check' ? 'true' : 'false')
|
conf_data.set('INSTALL_CHECK', (can_install == 'yes_check').to_string())
|
||||||
|
@ -29,7 +29,7 @@ if not enable_http or host_platform == 'emscripten'
|
|||||||
else
|
else
|
||||||
luaconsole_files += files('LuaSocketTCPHttp.cpp')
|
luaconsole_files += files('LuaSocketTCPHttp.cpp')
|
||||||
endif
|
endif
|
||||||
conf_data.set('LUACONSOLE', lua_variant != 'none' ? 'true' : 'false')
|
conf_data.set('LUACONSOLE', (lua_variant != 'none').to_string())
|
||||||
|
|
||||||
subdir('luascripts')
|
subdir('luascripts')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user