mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: Fix build without vulkan headers
Some distros ship Vulkan headers separately. In that case dependency check is passed but build is failing due to the missing headers.
This commit is contained in:
parent
83443967a0
commit
529f4d318f
2 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,8 @@ if not get_option('spa-plugins').disabled()
|
|||
avcodec_dep = dependency('libavcodec', required: get_option('ffmpeg'))
|
||||
avformat_dep = dependency('libavformat', required: get_option('ffmpeg'))
|
||||
jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
|
||||
vulkan_dep = dependency('vulkan', version : '>= 1.1.69', required: get_option('vulkan'))
|
||||
vulkan_dep = dependency('vulkan', disabler : true, version : '>= 1.1.69', required: get_option('vulkan'))
|
||||
vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
|
||||
libcamera_dep = dependency('camera', required: get_option('libcamera'))
|
||||
|
||||
subdir('plugins')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue