From 3227ffcfdec9d2f72b53453881eb6e8c01055962 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 11 Nov 2021 21:11:16 +0100 Subject: [PATCH] fix coverage --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)