From 73b2913be304185f79372046bc4ab7505a3d3730 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 10 Jul 2024 12:27:02 -0400 Subject: [PATCH] build: Don't enable vulkan without glslc We need glslc to compile the shaders. Fixes: #6846 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index decca690ec..562a8098f1 100644 --- a/meson.build +++ b/meson.build @@ -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