diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-07-01 15:27:20 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-07-04 16:02:51 +0200 |
commit | 21fe57953dc738f4e16d2b56ca72b64c03cf04c4 (patch) | |
tree | c1d989d50bf43c17ece5c39e482970c5ee8d476a | |
parent | e9d6f666ce2da99bd3994d0fe54c8593c0906058 (diff) | |
download | grilo-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.build | 2 | ||||
-rw-r--r-- | tools/grilo-inspect/meson.build | 3 |
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) |