mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
meson: fix build if bluez5 option is disabled
Don't look up codecs dependencies and don't include 'bluez5' subdir if 'bluez5' option is disabled or libbluetooth is not found. See https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/707.
This commit is contained in:
parent
38bcec9022
commit
e953bb3238
2 changed files with 10 additions and 6 deletions
|
|
@ -13,7 +13,9 @@ endif
|
|||
if not get_option('audiotestsrc').disabled()
|
||||
subdir('audiotestsrc')
|
||||
endif
|
||||
subdir('bluez5')
|
||||
if bluez_dep.found()
|
||||
subdir('bluez5')
|
||||
endif
|
||||
if avcodec_dep.found()
|
||||
subdir('ffmpeg')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue