Browse Source

Build type is set to RelWithDebInfo as default.

Ioannis Koutras 14 years ago
parent
commit
28cbf17c97
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/CMakeLists.txt

+ 4 - 0
src/CMakeLists.txt

@@ -1,5 +1,9 @@
 project (dmmlib-library C)
 
+if(NOT CMAKE_BUILD_TYPE)
+  set(CMAKE_BUILD_TYPE RelWithDebInfo)
+endif(NOT CMAKE_BUILD_TYPE)
+
 set(DMMLIB_PUBLIC_INCLUDE_DIRS
   ${CMAKE_SOURCE_DIR}/include
   CACHE INTERNAL "dmmlib public include directories"