mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
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()
15 lines
239 B
Meson
15 lines
239 B
Meson
|
|
subdir('pipewire')
|
|
subdir('daemon')
|
|
subdir('tools')
|
|
subdir('modules')
|
|
if get_option('examples').allowed()
|
|
subdir('examples')
|
|
endif
|
|
if get_option('tests').allowed()
|
|
subdir('tests')
|
|
endif
|
|
|
|
if gst_dep.length() != 0
|
|
subdir('gst')
|
|
endif
|