From 429107e193ee8e21517028b8627afd75de78dcd3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 31 Jan 2022 14:38:12 +0100 Subject: [PATCH] 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 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ce898ef..6a2cd20 100644 --- a/meson.build +++ b/meson.build @@ -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'],