mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
meson: fix build with missing libudev-devel
(cherry picked from commit b4c7973d49)
This commit is contained in:
parent
ee5a6f16f9
commit
3a4374ec09
7 changed files with 28 additions and 9 deletions
|
|
@ -104,7 +104,8 @@ if get_option('spa-plugins').allowed()
|
|||
cdata.set('HAVE_ALSA_COMPRESS_OFFLOAD', compress_offload_option.allowed())
|
||||
|
||||
# common dependencies
|
||||
libudev_dep = dependency('libudev', required: alsa_dep.found() or get_option('udev').enabled() or get_option('v4l2').enabled())
|
||||
libudev_dep = dependency('libudev', required: get_option('udev').enabled())
|
||||
cdata.set('HAVE_LIBUDEV', libudev_dep.found())
|
||||
summary({'Udev': libudev_dep.found()}, bool_yn: true, section: 'Backend')
|
||||
|
||||
subdir('plugins')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue