Merge pull request #70 from draios/build-release-by-default

Make default release type "build"
This commit is contained in:
Henri DF
2016-05-15 10:48:08 -07:00

View File

@@ -10,6 +10,10 @@ if(NOT DEFINED DIR_ETC)
set(DIR_ETC "/etc")
endif()
if(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE Release)
endif()
set(DRAIOS_DEBUG_FLAGS "-D_DEBUG")
set(CMAKE_C_FLAGS "-Wall -ggdb ${DRAIOS_FEATURE_FLAGS}")