aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-02-07 14:25:01 +0100
committerSven Gothel <[email protected]>2022-02-07 14:25:01 +0100
commitcfeee9cca321fe41220f4d91d9d95863a966efd4 (patch)
tree9f8664d2ae3c8142063e1f0a4862e96f12965df4 /cmake/modules
parente3c6a5f8858f0e0142f48a84fa250280c2b9f9b4 (diff)
git version info: Added post-tag: VERSION_COMMITS and VERSION_SHA1_SHORT. VERSION_LONG reflects post-tag and dirty. Added mapping to project version var-names.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/version.cpp.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/version.cpp.in b/cmake/modules/version.cpp.in
index 5398ed0..120cff7 100644
--- a/cmake/modules/version.cpp.in
+++ b/cmake/modules/version.cpp.in
@@ -1,5 +1,5 @@
#include <jau/version.hpp>
-const char* jau::VERSION = "@VERSION@";
-const char* jau::VERSION_SHORT = "@VERSION_SHORT@";
-const char* jau::VERSION_API = "@VERSION_API@";
+const char* jau::VERSION = "@jaulib_VERSION_LONG@";
+const char* jau::VERSION_SHORT = "@jaulib_VERSION_SHORT@";
+const char* jau::VERSION_API = "@jaulib_VERSION_API@";