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:
@@ -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)
|
||||
Reference in New Issue
Block a user