diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index dfff2c1..dafeaab 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -62,10 +62,11 @@ endif() enable_testing() # Note: doctest and similar testing frameworks can automatically configure CMake tests For other -# testing frameworks add the tests target instead: ADD_TEST(GreeterTests GreeterTests) - -include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake) -doctest_discover_tests(GreeterTests) +# testing frameworks add the tests target instead: +add_test(greeterTests GreeterTests) +# include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake) +# doctest_discover_tests(GreeterTests) +# Waning: if doctest is imported with find_package() this will fail! CK # ---- code coverage ----