mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +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,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()
|
cpu_family = target_machine.cpu_family()
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ def_spec_ext = '.def'
|
|||||||
|
|
||||||
glsl_compiler = find_program('glslangValidator')
|
glsl_compiler = find_program('glslangValidator')
|
||||||
glsl_args = [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ]
|
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' ]
|
glsl_args += [ '--quiet' ]
|
||||||
endif
|
endif
|
||||||
glsl_generator = generator(glsl_compiler,
|
glsl_generator = generator(glsl_compiler,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user