aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-03-12 10:19:39 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-03-12 11:17:03 +0100
commitdd35d9da3fd43f1091b8ec496ec25d72e54d8e22 (patch)
tree17dca845a42dfc9633f363cb11d2ad9e8c692bdc /CMakeLists.txt
parentf884a538ce79f70d44bdaaa9cb5ad2801dc36196 (diff)
CI: Fixed missing lcov prereq.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 56d3c2c4c..dbdd093b0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,6 +114,7 @@ endif()
if(ENABLE_COVERAGE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} --coverage")
add_custom_target(coverage)
add_custom_command(
TARGET coverage