Commit 7145f2f0 authored by Niklas Haas's avatar Niklas Haas

meson: cosmetic change

Makes the logic slightly more readable IMHO. YMMV
parent 81679a8d
......@@ -185,7 +185,7 @@ if not comps.has('vulkan')
'its functionality will be missing or impaired!')
endif
if comps.has('vulkan') and not comps.has('shaderc') and not comps.has('glslang')
if comps.has('vulkan') and not (comps.has('shaderc') or comps.has('glslang'))
error('Building with support for Vulkan requires either `shaderc` or ' +
'`glslang` to be of any use, otherwise libplacebo would fail to ' +
'compile GLSL to SPIR-V (needed by the Vulkan API)!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment