build: set check: false
in run_command()
Fixes this warning: WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300
This commit is contained in:
parent
718cfee03c
commit
429107e193
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ glsl_compiler = find_program('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.
|
||||
if run_command(glsl_compiler, ['--version', '--depfile', 'dummy.dep']).returncode() == 0
|
||||
if run_command(glsl_compiler, ['--version', '--depfile', 'dummy.dep'], check: false).returncode() == 0
|
||||
glsl_generator = generator(
|
||||
glsl_compiler,
|
||||
output : ['@BASENAME@.h'],
|
||||
|
|
Loading…
Reference in a new issue