summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-12-02 12:04:10 +0200
committerVasil Dimov <vasil.dimov@oracle.com>2010-12-02 12:04:10 +0200
commit8903bae21abe2b6747f52fd074aff8d9e604ee5a (patch)
tree651000a2195cb07f35474be1a08233682c40a880 /config.h.cmake
parent60fd9a180cb4ffb79419f7da6df7b31c843cac82 (diff)
downloadmariadb-git-8903bae21abe2b6747f52fd074aff8d9e604ee5a.tar.gz
Define MYSQL_(MAJOR|MINOR)_VERSION the way things are defined in CMake
instead of hacking a custom ADD_DEFINITIONS(). Approved by: Kent Boortz (via IRC)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 54567df4548..de1f0a65db7 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -604,6 +604,9 @@
#cmakedefine SO_EXT "@CMAKE_SHARED_MODULE_SUFFIX@"
+#define MYSQL_MAJOR_VERSION @MAJOR_VERSION@
+#define MYSQL_MINOR_VERSION @MINOR_VERSION@
+
#define PACKAGE "mysql"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "MySQL Server"