build: Restructure vulkan dependency handling and assert headers

vulkan_headers was a workaround for distributions providing pkg-config information
without the headers. Replacing it with a more conventional have_vulkan
and assert header availability if the option vulkan is enabled.
This commit is contained in:
columbarius 2023-10-15 17:24:08 +02:00 committed by Wim Taymans
parent 82b2515af3
commit 6064e5087e
2 changed files with 9 additions and 4 deletions

View file

@ -40,7 +40,7 @@ endif
if get_option('volume').allowed()
subdir('volume')
endif
if vulkan_headers
if have_vulkan
subdir('vulkan')
endif