build: increase required vulkan version

We require VK_EXT_KHR_synchronization_2 to build, which seems to be
added to libvulkan at 2.1.170 [1].

[1] 1d99b835ec
This commit is contained in:
columbarius 2023-10-15 19:36:57 +02:00 committed by Wim Taymans
parent 6064e5087e
commit 886ca8f004

View file

@ -89,7 +89,7 @@ if get_option('spa-plugins').allowed()
summary({'JACK2': jack_dep.found()}, bool_yn: true, section: 'Backend')
have_vulkan = false
vulkan_dep = dependency('vulkan', version : '>= 1.1.69', required: get_option('vulkan'))
vulkan_dep = dependency('vulkan', version : '>= 1.2.170', required: get_option('vulkan'))
if vulkan_dep.found()
have_vulkan = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
assert((not get_option('vulkan').enabled()) or have_vulkan, 'Vulkan headers are missing')