Added ctest so we now have a 'make test' target for running tests.

pull/204/head
Kevin M. Godby 9 years ago
parent 1b444345ab
commit 846fdf9f5c

@ -23,8 +23,8 @@ target_include_directories(
set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include") set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include")
include(CTest)
if(SPDLOG_BUILD_EXAMPLES) if(SPDLOG_BUILD_EXAMPLES)
enable_testing()
add_subdirectory(example) add_subdirectory(example)
endif() endif()

Loading…
Cancel
Save