make coverage is only available with a debug build
1 files changed, 7 insertions(+), 5 deletions(-) M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +7 -5
@@ 186,11 186,13 @@ add_custom_target(check COMMAND "test_suite" # ## Code coverage # include(CodeCoverage) SETUP_TARGET_FOR_COVERAGE(coverage test_suite coverage ) if(CMAKE_BUILD_TYPE MATCHES DEBUG) include(CodeCoverage) SETUP_TARGET_FOR_COVERAGE(coverage test_suite coverage ) endif() # ## Install target