Commit f23129c3 authored by Shervin Nourbakhsh's avatar Shervin Nourbakhsh
Browse files

CMAKE_BUILD_TYPE forced to Release if not defined

parent 9e5e6574
......@@ -8,6 +8,10 @@ project(cameo
option(CAMEO_API_CPP "Compile and install cameo C++ api" OFF)
option(CAMEO_API_PYTHON "Compile and install cameo Python api" OFF)
if(NOT DEFINED ${CMAKE_BUILD_TYPE})
set(CMAKE_BUILD_TYPE "Release") # set Release by default
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
if(${CAMEO_API_CPP})
list(APPEND APIs cameo-api-cpp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment