[grilo/wip/hadess/build-fixes: 6/6] build: Fix warning in grilo-inspect build files




commit 21fe57953dc738f4e16d2b56ca72b64c03cf04c4
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 1 15:27:20 2022 +0200

    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

 meson.build                     | 2 +-
 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]