2010-06-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
[WebKit-https.git] / CMakeLists.txt
index ca2e1c4..ff3a0ad 100644 (file)
@@ -1,7 +1,9 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 PROJECT(WebKit)
 
-SET(CMAKE_BUILD_TYPE Release)
+IF (NOT CMAKE_BUILD_TYPE)
+    SET(CMAKE_BUILD_TYPE Release)
+ENDIF ()
 SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
 
 SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/JavaScriptCore")