diff options
author | Sébastien Wilmet <swilmet@informatique-libre.be> | 2023-03-21 16:00:00 +0100 |
---|---|---|
committer | Sébastien Wilmet <swilmet@informatique-libre.be> | 2023-03-21 16:00:00 +0100 |
commit | 7d2f030eebba0e7f808b0bac7a71cd33f0eadf54 (patch) | |
tree | 9a8c3000e9724540f53b852d8c8a2914d65a1376 | |
parent | 95a438973d8360d4cfd4db8a695ef9d89d72d334 (diff) | |
download | gedit-7d2f030eebba0e7f808b0bac7a71cd33f0eadf54.tar.gz |
build: fix a warning
The warning was:
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index dbbecaaab..84cfbb772 100644 --- a/meson.build +++ b/meson.build @@ -26,7 +26,10 @@ glibdir = get_option('prefix') / get_option('datadir') / 'glib-2.0' # Subprojects if not get_option('buildtype').contains('plain') - run_command('git', '-C', meson.project_source_root(), 'submodule', 'update', '--init', '--recursive') + run_command( + 'git', '-C', meson.project_source_root(), 'submodule', 'update', '--init', '--recursive', + check: true, + ) endif libgd_subproject = subproject( |