build: Avoid meson 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. Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
This commit is contained in:
parent
9029d1ae23
commit
a078197e16
|
@ -79,7 +79,7 @@ idl_generator = generator(idl_compiler,
|
|||
|
||||
glsl_compiler = find_program('glslangValidator')
|
||||
glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
|
||||
if run_command(glsl_compiler, [ '--quiet', '--version' ]).returncode() == 0
|
||||
if run_command(glsl_compiler, [ '--quiet', '--version' ], check : false).returncode() == 0
|
||||
glsl_args += [ '--quiet' ]
|
||||
endif
|
||||
glsl_generator = generator(glsl_compiler,
|
||||
|
|
Loading…
Reference in New Issue