aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake.in
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-07 16:39:19 +0200
committerThomas White <taw@physics.org>2018-06-07 16:46:44 +0200
commitaeaec4acdd671fcd1cfef5876912381e44ca62ff (patch)
tree13ffdd2250c42313a75e8a10e30e7aca45e34089 /config.h.cmake.in
parent53518122c1921e31dbaec281f33eadbe6ccaa011 (diff)
Fix version numbers for release, snapshot and Git checkouts
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 24b2ab86..a218026c 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -8,9 +8,9 @@
#cmakedefine HAVE_OPENCL
#cmakedefine HAVE_CLOCK_GETTIME
-#define PACKAGE_VERSION "${PROJECT_VERSION}"
+#define PACKAGE_VERSION "${CRYSTFEL_VERSION}"
-#define CRYSTFEL_VERSIONSTRING "${PROJECT_VERSION}+${GIT_SHA1}"
+#define CRYSTFEL_VERSIONSTRING "${CRYSTFEL_VERSION}"
#define CRYSTFEL_BOILERPLATE "License GPLv3+: GNU GPL version 3 or later"\
" <http://gnu.org/licenses/gpl.html>.\n"\