Add wrap dependency for vulkan headers

Don't expect the vulkan headers to be present on the development system. Instead, download the using meson wrap.

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode.xyz>
This commit is contained in:
2026-06-12 14:11:33 +02:00
parent ca1477b500
commit bbccf7f0ba
6 changed files with 27 additions and 22 deletions
@@ -0,0 +1,15 @@
project(
'vulkan-headers',
'c',
license: 'Apache-2.0',
version: '1.4.353',
meson_version: '>=0.56.0',
)
vulkan_api_xml = files('registry/vk.xml')
vulkan_headers_dep = declare_dependency(
include_directories: include_directories('include'),
)
meson.override_dependency('VulkanHeaders', vulkan_headers_dep)