Skip to content

Commit a0faf29

Browse files
committed
[FIX] build in Release mode by default
1 parent 7defc2a commit a0faf29

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ set (CMAKE_MODULE_PATH
1616
${CMAKE_CURRENT_SOURCE_DIR}/include/seqan/util/cmake
1717
${CMAKE_MODULE_PATH})
1818
include (SeqAnContribs)
19+
20+
# Build in release mode by default
21+
if (CMAKE_BUILD_TYPE STREQUAL "")
22+
set(CMAKE_BUILD_TYPE "Release")
23+
endif()
24+
1925
set (SEQAN_USE_SEQAN_BUILD_SYSTEM TRUE CACHE INTERNAL "Use SeqAn build system." FORCE)
2026
include (SeqAnBuildSystem)
2127
set (SEQAN_ROOT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include/seqan/" CACHE INTERNAL "Root source directory." FORCE)

0 commit comments

Comments
 (0)