fix coverage
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user