meson: use ternary op for brevity

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-11-15 14:47:17 +01:00
parent 7eff3e2cdb
commit 3e0cf73243

View file

@ -46,11 +46,7 @@ else
endif
fuzz_c_args = get_option('c_args')
if cxx_cmd != ''
fuzz_cpp_args = get_option('cpp_args')
else
fuzz_cpp_args = []
endif
fuzz_cpp_args = cxx_cmd != '' ? get_option('cpp_args') : []
sanitize_address_undefined = custom_target(
'sanitize-address-undefined-fuzzers',