mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05: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()
6 lines
146 B
Meson
6 lines
146 B
Meson
if get_option('systemd-system-service').allowed()
|
|
subdir('system')
|
|
endif
|
|
if get_option('systemd-user-service').allowed()
|
|
subdir('user')
|
|
endif
|