From e1355f1ee2d662a38968e512d3adfe86bc13d2a6 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sun, 13 Feb 2022 21:05:17 -0800 Subject: [PATCH] The check argument is now set when calling run_command in meson.build --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 77bacc7..f37b154 100644 --- a/meson.build +++ b/meson.build @@ -14,7 +14,7 @@ hg = find_program('hg', native : true, required : false) version = meson.project_version() if hg.found() - version = run_command(hg, 'identify').stdout().strip() + version = run_command(hg, 'identify', check : true).stdout().strip() endif add_project_arguments('-D_GNU_SOURCE', '-DVERSION="' + version + '"', language : 'c')