mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[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:
parent
4f3bb3df12
commit
939040b178
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue