mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-27 03:49:49 +01:00
render/vulkan: use renamed glslang binary by default
glslang 12.3.0 renamed glslangValidator to glslang, use that by default and use the old name as a fallback. References: https://github.com/KhronosGroup/glslang/blob/main/CHANGES.md?plain=1#L14
This commit is contained in:
parent
42a5b6f62a
commit
061f5fafbd
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ if not cc.check_header('vulkan/vulkan.h', dependencies: dep_vulkan)
|
|||
endif
|
||||
endif
|
||||
|
||||
glslang = find_program('glslangValidator', native: true, required: false)
|
||||
glslang = find_program('glslang', 'glslangValidator', native: true, required: false)
|
||||
if not glslang.found()
|
||||
if 'vulkan' in renderers
|
||||
error('\n'.join(msg).format('glslang'))
|
||||
|
|
Loading…
Reference in a new issue