aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake.in
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-22 15:29:11 +0100
committerThomas White <taw@physics.org>2018-03-22 15:32:02 +0100
commit00e75c577fa1069d24188bb7750fea1bc3723865 (patch)
tree1f0e743caa26ad84b904c6b20f56becd0cf65bf7 /config.h.cmake.in
parentbd5254b087bf38da5bd1aead7e32af508c0b12b4 (diff)
Add proper version number
Diffstat (limited to 'config.h.cmake.in')
-rw-r--r--config.h.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h.cmake.in b/config.h.cmake.in
index d30e2485..2db30860 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -20,9 +20,9 @@
#cmakedefine HAVE_CBF_CBF_H
#cmakedefine HAVE_CBFLIB_CBF_H
-#define PACKAGE_VERSION "0.6.3"
+#define PACKAGE_VERSION "${PROJECT_VERSION}"
-#define CRYSTFEL_VERSIONSTRING "+@GIT_SHA1@"
+#define CRYSTFEL_VERSIONSTRING "${PROJECT_VERSION}+${GIT_SHA1}"
#define CRYSTFEL_BOILERPLATE "License GPLv3+: GNU GPL version 3 or later"\
" <http://gnu.org/licenses/gpl.html>.\n"\