summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2023-11-03 08:58:10 +0000
committerFrediano Ziglio <freddy77@gmail.com>2023-11-05 15:29:33 +0000
commitfe4395f3d773901654de2211cc56db985051adac (patch)
tree58f4cf4a055e2ff38786f1255e43f53f4b06e714
parentbb8f66983af6b7f38dc80efa6b6ca8f34c2ab85e (diff)
build: Avoid Meson warning
Avoids: 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 Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Uri Lublin <uril@redhat.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 1018769..33f8f8a 100644
--- a/meson.build
+++ b/meson.build
@@ -132,7 +132,7 @@ if spice_common_generate_client_code or spice_common_generate_server_code
if get_option('python-checks')
foreach module : ['six', 'pyparsing']
message('Checking for python module @0@'.format(module))
- cmd = run_command(python, '-c', 'import @0@'.format(module))
+ cmd = run_command(python, '-c', 'import @0@'.format(module), check : false)
if cmd.returncode() != 0
error('Python module @0@ not found'.format(module))
endif