summaryrefslogtreecommitdiff
path: root/src/plugins/relay
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-03-24 09:02:04 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-03-24 09:38:43 +0100
commit2612adf8993acf3925f636dd415921c4ff06727f (patch)
tree3fe7b92d60c759a7d8c542c40f1c9ce32913f113 /src/plugins/relay
parent47c4329404e0b79731bdaff6ddd57c729bebf76b (diff)
downloadweechat-2612adf8993acf3925f636dd415921c4ff06727f.zip
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
This option is OFF by default and should be enabled only for tests, to measure test coverage.
Diffstat (limited to 'src/plugins/relay')
-rw-r--r--src/plugins/relay/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/CMakeLists.txt b/src/plugins/relay/CMakeLists.txt
index d47bbdc55..a33df99ac 100644
--- a/src/plugins/relay/CMakeLists.txt
+++ b/src/plugins/relay/CMakeLists.txt
@@ -47,6 +47,6 @@ if(GNUTLS_FOUND)
list(APPEND LINK_LIBS ${GNUTLS_LIBRARY})
endif()
-target_link_libraries(relay ${LINK_LIBS})
+target_link_libraries(relay ${LINK_LIBS} coverage_config)
install(TARGETS relay LIBRARY DESTINATION ${LIBDIR}/plugins)