also build tests when no build type is specified

allow_new_sellers
Martin Brodbeck 4 years ago
parent b6f2391f0b
commit 92fa2ef42a
  1. 2
      CMakeLists.txt

@ -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…
Cancel
Save