meson: Don't build glslang with hlsl support

This commit is contained in:
Matt Borgerson
2025-03-06 00:22:28 -07:00
committed by mborgerson
parent eeaee81223
commit fdb78c5dbd
+1 -1
View File
@@ -2300,7 +2300,7 @@ if vulkan.found()
if not libglslang.found()
# FIXME: Get spirv-tools to enable opt.
glslang_opts = cmake.subproject_options()
glslang_opts.add_cmake_defines({'ENABLE_OPT': false})
glslang_opts.add_cmake_defines({'ENABLE_OPT': false, 'ENABLE_HLSL': false})
glslang_subpro = cmake.subproject('glslang', options: glslang_opts)
libglslang = declare_dependency(link_with: [
glslang_subpro.target('glslang'),