mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
build: Don't enable vulkan without glslc
We need glslc to compile the shaders. Fixes: #6846
This commit is contained in:
parent
bd3e596243
commit
73b2913be3
@ -626,7 +626,7 @@ vulkan_dep = dependency('vulkan',
|
||||
version: vulkan_req,
|
||||
required: vulkan_enabled)
|
||||
glslc = find_program('glslc', required: vulkan_enabled)
|
||||
if vulkan_dep.found()
|
||||
if vulkan_dep.found() and glslc.found()
|
||||
have_vulkan = true
|
||||
vulkan_pkg_found = vulkan_dep.type_name() == 'pkgconfig'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user