summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlan Antonuk <aega@med.umich.edu>2012-05-22 11:39:44 -0400
committerAlan Antonuk <aega@med.umich.edu>2012-05-24 15:35:20 -0400
commit970ccbc411c47c72920f1a6c94366ff8dd95a2fe (patch)
tree7ffb18d1199a42ee118df1579ec8c63878614196 /CMakeLists.txt
parentf30b079805f1666799a6ca12c6ed877b12c8aec3 (diff)
downloadrabbitmq-c-github-ask-970ccbc411c47c72920f1a6c94366ff8dd95a2fe.tar.gz
Set the default CMake build type to be in release mode
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0d4281..5247fc7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,10 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
set(VERSION "0.2")
+if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
+endif()
+
#find python
find_package(PythonInterp REQUIRED)