diff options
author | MySQL Build Team <build@mysql.com> | 2009-05-20 23:04:34 +0200 |
---|---|---|
committer | MySQL Build Team <build@mysql.com> | 2009-05-20 23:04:34 +0200 |
commit | b243283e693452549457bd9ccf73918965809571 (patch) | |
tree | 514c7fa33a125d34991d78ec0b56dcb4c70761d2 /CMakeLists.txt | |
parent | 4cf2001cfed33e35afac4fd8345d474fb3fefdf1 (diff) | |
download | mariadb-git-b243283e693452549457bd9ccf73918965809571.tar.gz |
Updates to build with community features enabled for community builds.
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f66453ef492..91c3a804eea 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,10 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFORCE_INIT_OF_VARS") # Note that some engines are always compiled in, MyISAM, MyISAMMRG, HEAP +IF(WITH_COMMUNITY_FEATURES) + ADD_DEFINITIONS(-DENABLED_PROFILING -DCOMMUNITY_SERVER) +ENDIF(WITH_COMMUNITY_FEATURES) + IF(WITH_ARCHIVE_STORAGE_ENGINE) ADD_DEFINITIONS(-DHAVE_ARCHIVE_DB) ENDIF(WITH_ARCHIVE_STORAGE_ENGINE) |