mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: fix handling of the alsa option
Option 'pipewire-alsa' is a meson feature and defaults to 'auto'. This is different to 'disabled', so on systems where alsa's deps weren't available we would still end up trying to build. Switch to checking alsa_dep.found() instead.
This commit is contained in:
parent
23854539fe
commit
6eb4114238
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ if not get_option('pipewire-jack').disabled()
|
|||
subdir('pipewire-jack')
|
||||
endif
|
||||
|
||||
if not get_option('pipewire-alsa').disabled()
|
||||
if alsa_dep.found()
|
||||
subdir('pipewire-alsa/alsa-plugins')
|
||||
subdir('pipewire-alsa/conf')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue