aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 52777aef49..f8cd1cd0c5 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -7,6 +7,9 @@
/* Version number of package */
#define VERSION "${CPACK_PACKAGE_VERSION}"
+#define VERSION_MAJOR "${PROJECT_MAJOR_VERSION}"
+#define VERSION_MINOR "${PROJECT_MINOR_VERSION}"
+#define VERSION_MICRO "${PROJECT_PATCH_VERSION}"
/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
/* Directory for data */