summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2018-07-18 15:15:12 +0200
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2018-07-18 15:15:12 +0200
commit0f934ad96576a6ecf1b616a5a824cc253abb5b3d (patch)
tree0d3c372b6adba721e71e9d4fc7370faeddd12d15 /meson.build
parent42c934681970381a15aa1714822e65492bd51cc3 (diff)
downloadlibnitrokey-0f934ad96576a6ecf1b616a5a824cc253abb5b3d.tar.gz
libnitrokey-0f934ad96576a6ecf1b616a5a824cc253abb5b3d.tar.bz2
meson: improve generation of vcs_tag
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
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',