aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2019-05-06 13:21:29 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2019-05-06 13:21:29 +0200
commit4a0da78d76906f052642e19dedf72f18298e5f9c (patch)
tree1bb3c203b5e8231c2848760b2ff8026e29a93acc /CMakeLists.txt
parented8af16e19fbfb727de647df738ccdcb3c6ac3b5 (diff)
parent8526b5a79795fe821749ecd985dc26fcf30728f9 (diff)
downloadlibnitrokey-4a0da78d76906f052642e19dedf72f18298e5f9c.tar.gz
libnitrokey-4a0da78d76906f052642e19dedf72f18298e5f9c.tar.bz2
Merge branch 'pr_157'
Fix failing test, due to a new format coming from pre-release. Fixes #157
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e583d30..6d59430 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,7 +130,7 @@ execute_process(
)
ENDIF()
IF((NOT ${ADD_GIT_INFO}) OR (${PROJECT_VERSION_GIT_RETURN_CODE}))
- SET(PROJECT_VERSION_GIT "unknown")
+ SET(PROJECT_VERSION_GIT "v${PROJECT_VERSION}")
ENDIF()
MESSAGE(STATUS "Setting Git library version to: " ${PROJECT_VERSION_GIT} )
configure_file("version.cc.in" "version.cc" @ONLY)