summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-01-11 14:42:07 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-01-11 14:42:07 +0100
commit125cd58f2b3239b7ff0ec727a62e8ca160f3a877 (patch)
tree54452e4308325c5be5f211abcf08122b74799f2a /CMakeLists.txt
parent36549c4fa293ceb026b21c09de31b060e8961e6b (diff)
downloadmariadb-git-125cd58f2b3239b7ff0ec727a62e8ca160f3a877.tar.gz
Add option for specifying MYSQL build configurations.
Add mysql_release.cmake intended for use by the build team ( compile options, build settings to do MySQL releases)
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd6310a20eb..6dafc6b3086 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,10 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
CMAKE_POLICY(VERSION 2.8)
endif()
+IF(BUILD_CONFIG)
+ INCLUDE(${CMAKE_SOURCE_DIR}/cmake/build_configurations/${BUILD_CONFIG}.cmake)
+ENDIF()
+
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# First, decide about build type (debug or release)