mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
meson: fix build with missing libudev-devel
This commit is contained in:
parent
cb2b7af8fd
commit
b4c7973d49
7 changed files with 28 additions and 9 deletions
|
|
@ -45,10 +45,9 @@ if have_vulkan
|
|||
endif
|
||||
|
||||
v4l2_header_found = cc.has_header('linux/videodev2.h', required: get_option('v4l2'))
|
||||
v4l2_supported = libudev_dep.found() and v4l2_header_found
|
||||
summary({'V4L2 kernel header': v4l2_header_found}, bool_yn: true, section: 'Backend')
|
||||
summary({'V4L2 enabled': v4l2_supported}, bool_yn: true, section: 'Backend')
|
||||
if v4l2_supported
|
||||
summary({'V4L2 enabled': v4l2_header_found}, bool_yn: true, section: 'Backend')
|
||||
if v4l2_header_found
|
||||
subdir('v4l2')
|
||||
endif
|
||||
if libcamera_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue