diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6838995..b6f8111 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -55,6 +55,6 @@ ADD_TEST(GreeterTests GreeterTests) # ---- code coverage ---- if (${ENABLE_TEST_COVERAGE}) - set_target_properties(GreeterTests PROPERTIES CXX_STANDARD 17 COMPILE_FLAGS "-O0 -g -fprofile-arcs -ftest-coverage --coverage") - target_link_options(GreeterTests PUBLIC "--coverage") + set_target_properties(Greeter PROPERTIES CXX_STANDARD 17 COMPILE_FLAGS "-O0 -g -fprofile-arcs -ftest-coverage --coverage") + target_link_options(Greeter PUBLIC "--coverage") endif()