mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
meson: Fixed remaining issues from the port to feature options
This commit is contained in:
parent
9cd9339c2a
commit
22f6e8e36d
3 changed files with 7 additions and 7 deletions
|
|
@ -65,7 +65,7 @@ executable('export-spa-device',
|
|||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
if alsa_dep.found()
|
||||
if not get_option('media-session').disabled() and alsa_dep.found()
|
||||
executable('pipewire-media-session',
|
||||
'media-session/access-flatpak.c',
|
||||
'media-session/access-portal.c',
|
||||
|
|
@ -94,8 +94,6 @@ if alsa_dep.found()
|
|||
install: true,
|
||||
dependencies : [dbus_dep, pipewire_dep, alsa_dep, mathlib],
|
||||
)
|
||||
elif get_option('media-session').enabled() and not alsa_dep.found()
|
||||
error('`media-session` is enabled but required dependency `alsa` not found.')
|
||||
endif
|
||||
|
||||
executable('pw-reserve',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue