summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-07-01 15:27:20 +0200
committerBastien Nocera <hadess@hadess.net>2022-07-04 16:02:51 +0200
commit21fe57953dc738f4e16d2b56ca72b64c03cf04c4 (patch)
treec1d989d50bf43c17ece5c39e482970c5ee8d476a
parente9d6f666ce2da99bd3994d0fe54c8593c0906058 (diff)
downloadgrilo-21fe57953dc738f4e16d2b56ca72b64c03cf04c4.tar.gz
build: Fix warning in grilo-inspect build files
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
-rw-r--r--meson.build2
-rw-r--r--tools/grilo-inspect/meson.build3
2 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 0aabae7..2bfc686 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@ project('grilo', 'c',
'warning_level=1'
],
license: 'LGPL-2.1-or-later',
- meson_version: '>= 0.46.0')
+ meson_version: '>= 0.47.0')
grilo_version = meson.project_version()
grlnet_version = meson.project_version()
diff --git a/tools/grilo-inspect/meson.build b/tools/grilo-inspect/meson.build
index 3dd6c2f..893b9a6 100644
--- a/tools/grilo-inspect/meson.build
+++ b/tools/grilo-inspect/meson.build
@@ -15,7 +15,8 @@ endif
run_command(python,
'@0@/generate_core_keys.py'.format(meson.current_source_dir()),
'@0@/src/grl-metadata-key.h'.format(source_root),
- '@0@/grl-core-keys.h'.format(meson.current_build_dir()))
+ '@0@/grl-core-keys.h'.format(meson.current_build_dir()),
+ check: true)
configure_file(output: 'config.h',
configuration: cdata)