feat(build): use Release when compilation mode is not specified

This commit is contained in:
Leonardo de Moura 2014-09-17 15:20:35 -07:00
parent e3e1668f27
commit 26918022d8

View file

@ -3,6 +3,11 @@ project(LEAN CXX)
set(LEAN_VERSION_MAJOR 0)
set(LEAN_VERSION_MINOR 2)
if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release")
endif()
set(CMAKE_COLOR_MAKEFILE ON)
enable_testing()