diff --git a/CMakeLists.txt b/CMakeLists.txt index 868e6668..5c60b9e4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,7 @@ endif(NOT HAVE_ARGP) option(coverage "enable code coverage tracking." OFF) if(NOT coverage STREQUAL OFF) add_definitions(-coverage -O0) + link_libraries(gcov) message(STATUS "coverage enabled") endif(NOT coverage STREQUAL OFF) option(contrib "disable inclusion of contributed sources." ON)