glslang: check for renamed bin
In version 12.3.0 glslangValidator was renamed to glslang. This commit checks for both the old glslangValidator name and the new glslang
This commit is contained in:
parent
540323ac37
commit
1e180d7195
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ foreach feat : required_wlroots_features
|
|||
endif
|
||||
endforeach
|
||||
|
||||
glsl_compiler = find_program('glslangValidator', native: true)
|
||||
glsl_compiler = find_program('glslang', 'glslangValidator', native: true)
|
||||
|
||||
# Use --depfile to rebuild shaders when included files have changed. Sadly debian based
|
||||
# distros don't have up-to-date glslang so we need to check for support first.
|
||||
|
|
Loading…
Reference in a new issue