]> git.mdlowis.com Git - proto/labwc.git/commitdiff
build: set 'check: false' on run_command
authorJohan Malm <jgm323@gmail.com>
Mon, 14 Feb 2022 20:22:23 +0000 (20:22 +0000)
committerJohan Malm <jgm323@gmail.com>
Wed, 23 Feb 2022 21:47:01 +0000 (21:47 +0000)
Future meson releases will change the default, so we explicitly set
check: false to maintain behaviour

meson.build

index e0da463eaf422cca6eaa442cb7ed24d6e067d6b1..7aea92b2a5c825ac3f49fd323610811fa1bc7714 100644 (file)
@@ -30,7 +30,7 @@ add_project_arguments(cc.get_supported_arguments(
 version='"@0@"'.format(meson.project_version())
 git = find_program('git', native: true, required: false)
 if git.found()
-  git_commit = run_command([git, 'describe', '--dirty'])
+  git_commit = run_command([git, 'describe', '--dirty'], check: false)
   if git_commit.returncode() == 0
     version = '"@0@"'.format(git_commit.stdout().strip())
   endif