mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
treewide: meson.build: use feature.allowed()
Since meson 0.59.0, a feature object has an `allowed()` method which returns true when the feature is set to 'enabled' or 'auto'. Utilize that instead of the previously used not feature.disabled()
This commit is contained in:
parent
15e7a61aa7
commit
cc73053512
10 changed files with 35 additions and 35 deletions
|
|
@ -23,7 +23,7 @@ spa_support_lib = shared_library('spa-support',
|
|||
install_dir : spa_plugindir / 'support')
|
||||
spa_support_dep = declare_dependency(link_with: spa_support_lib)
|
||||
|
||||
if not get_option('evl').disabled()
|
||||
if get_option('evl').allowed()
|
||||
evl_inc = include_directories('/usr/evl/include')
|
||||
evl_lib = cc.find_library('evl',
|
||||
dirs: ['/usr/evl/lib/'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue