summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@informatique-libre.be>2023-03-21 16:00:00 +0100
committerSébastien Wilmet <swilmet@informatique-libre.be>2023-03-21 16:00:00 +0100
commit7d2f030eebba0e7f808b0bac7a71cd33f0eadf54 (patch)
tree9a8c3000e9724540f53b852d8c8a2914d65a1376
parent95a438973d8360d4cfd4db8a695ef9d89d72d334 (diff)
downloadgedit-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.build5
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(