summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1c0aac4f2..55bbb5bee 100644
--- a/src/config.h
+++ b/src/config.h
@@ -36,6 +36,20 @@
#define USE_LEVELDB CMAKE_USE_LEVELDB
#undef USE_LUAJIT
#define USE_LUAJIT CMAKE_USE_LUAJIT
+ #undef VERSION_MAJOR
+ #define VERSION_MAJOR CMAKE_VERSION_MAJOR
+ #undef VERSION_MINOR
+ #define VERSION_MINOR CMAKE_VERSION_MINOR
+ #undef VERSION_PATCH
+ #define VERSION_PATCH CMAKE_VERSION_PATCH
+ #undef VERSION_PATCH_ORIG
+ #define VERSION_PATCH_ORIG CMAKE_VERSION_PATCH_ORIG
+ #undef VERSION_STRING
+ #define VERSION_STRING CMAKE_VERSION_STRING
+ #undef PRODUCT_VERSION_STRING
+ #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING
+ #undef VERSION_EXTRA_STRING
+ #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
#endif
#endif