diff --git a/meson.build b/meson.build index e0da463e..7aea92b2 100644 --- a/meson.build +++ b/meson.build @@ -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