From 0f934ad96576a6ecf1b616a5a824cc253abb5b3d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 18 Jul 2018 15:15:12 +0200 Subject: meson: improve generation of vcs_tag Signed-off-by: Igor Gnatenko --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index b14fe0c..258445e 100644 --- a/meson.build +++ b/meson.build @@ -53,6 +53,7 @@ version_cc_in = configure_file( version_cc = vcs_tag( input : version_cc_in, output : 'version.cc', + fallback : 'v@0@'.format(meson.project_version()), ) libnitrokey = library( 'nitrokey', -- cgit v1.2.1