[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.

Stupid change, stupid warning, stupid fix.
This commit is contained in:
Georg Lehmann 2022-02-10 00:26:54 +01:00 committed by Philip Rebohle
parent 4f3bb3df12
commit 939040b178
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
project('dxvk', ['c', 'cpp'], version : 'v1.9.4', meson_version : '>= 0.46')
project('dxvk', ['c', 'cpp'], version : 'v1.9.4', meson_version : '>= 0.47')
cpu_family = target_machine.cpu_family()
@ -111,7 +111,7 @@ def_spec_ext = '.def'
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,