mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
examples: don't fail when alsa is not found
Avoid building the session-manager when alsa was not found.
This commit is contained in:
parent
4717690a60
commit
aee3191bad
1 changed files with 20 additions and 18 deletions
|
|
@ -44,6 +44,7 @@ executable('export-spa-device',
|
|||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
if alsa_dep.found()
|
||||
executable('pipewire-media-session',
|
||||
'media-session/alsa-midi.c',
|
||||
'media-session/alsa-monitor.c',
|
||||
|
|
@ -63,6 +64,7 @@ executable('pipewire-media-session',
|
|||
install: true,
|
||||
dependencies : [dbus_dep, pipewire_dep, alsa_dep, mathlib],
|
||||
)
|
||||
endif
|
||||
|
||||
executable('bluez-session',
|
||||
'bluez-session.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue