mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30: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,
|
version: vulkan_req,
|
||||||
required: vulkan_enabled)
|
required: vulkan_enabled)
|
||||||
glslc = find_program('glslc', required: vulkan_enabled)
|
glslc = find_program('glslc', required: vulkan_enabled)
|
||||||
if vulkan_dep.found()
|
if vulkan_dep.found() and glslc.found()
|
||||||
have_vulkan = true
|
have_vulkan = true
|
||||||
vulkan_pkg_found = vulkan_dep.type_name() == 'pkgconfig'
|
vulkan_pkg_found = vulkan_dep.type_name() == 'pkgconfig'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user