mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
build: set 'check: false' on run_command
Future meson releases will change the default, so we explicitly set check: false to maintain behaviour
This commit is contained in:
parent
b79744e7b0
commit
177c130183
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ add_project_arguments(cc.get_supported_arguments(
|
||||||
version='"@0@"'.format(meson.project_version())
|
version='"@0@"'.format(meson.project_version())
|
||||||
git = find_program('git', native: true, required: false)
|
git = find_program('git', native: true, required: false)
|
||||||
if git.found()
|
if git.found()
|
||||||
git_commit = run_command([git, 'describe', '--dirty'])
|
git_commit = run_command([git, 'describe', '--dirty'], check: false)
|
||||||
if git_commit.returncode() == 0
|
if git_commit.returncode() == 0
|
||||||
version = '"@0@"'.format(git_commit.stdout().strip())
|
version = '"@0@"'.format(git_commit.stdout().strip())
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue