Skip to content

Commit

Permalink
Only set default to release
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Mar 7, 2016
1 parent 215f521 commit ed00728
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
# Compile all libraries into lib/
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

set(CMAKE_BUILD_TYPE Release)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()

# Tell cmake that we want unit tests to be compiled
include(CTest)
Expand Down

0 comments on commit ed00728

Please sign in to comment.