Make default release type "build"

This commit is contained in:
Henri DF 2016-05-15 17:43:10 +00:00
parent d16cc67e98
commit acfa8e7686

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}")