meson: Support system glslang

This commit is contained in:
Matt Borgerson
2025-03-07 02:46:49 -07:00
committed by mborgerson
parent 7b9b7a0c25
commit f1ce017bd2
+1
View File
@@ -2325,6 +2325,7 @@ elif host_os == 'linux'
endif
if vulkan.found()
libglslang = dependency('glslang', method: 'pkg-config', version: '>=15.0.0', required: false)
if not libglslang.found()
# FIXME: Get spirv-tools to enable opt.
glslang_opts = cmake.subproject_options()