also build tests when no build type is specified
This commit is contained in:
parent
b6f2391f0b
commit
92fa2ef42a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
|||
|
||||
add_subdirectory(src)
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
|
|
Loading…
Reference in a new issue