mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
meson: use .allowed() method for features
The method is now in 0.59, using it simplifies some boolean conditions. The other new methods .require() and .disable_auto_if() can be used too, but introducing them is not just a matter of search-and-replace. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
308c8475bc
commit
43a363ae35
2 changed files with 22 additions and 22 deletions
|
@ -85,7 +85,7 @@ if 'CONFIG_TCG' in config_all
|
|||
subdir('fp')
|
||||
endif
|
||||
|
||||
if not get_option('tcg').disabled()
|
||||
if get_option('tcg').allowed()
|
||||
if 'CONFIG_PLUGIN' in config_host
|
||||
subdir('plugin')
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue