From a0314c4818eb888e432a76f88fbcd9a860c9be54 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Thu, 30 Jul 2020 14:25:52 +0200 Subject: [PATCH] build: Use the commit hash as fallback for the built-in version. The `git describe` command currently fails because there are no tags yet. Using `--always` lets it fall back to the current commit hash. Signed-off-by: Jens Peters --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f722c0fc..5d8b9eb6 100644 --- a/meson.build +++ b/meson.build @@ -83,7 +83,7 @@ if cpu_family == 'x86' endif vkd3d_version = vcs_tag( - command : ['git', 'describe', '--dirty=+'], + command : ['git', 'describe', '--always', '--dirty=+'], input : 'vkd3d_version.c.in', output : 'vkd3d_version.c')