From 2612adf8993acf3925f636dd415921c4ff06727f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 24 Mar 2019 09:02:04 +0100 Subject: 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. --- src/plugins/alias/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/alias/CMakeLists.txt') diff --git a/src/plugins/alias/CMakeLists.txt b/src/plugins/alias/CMakeLists.txt index 1e752ad87..ef01f319f 100644 --- a/src/plugins/alias/CMakeLists.txt +++ b/src/plugins/alias/CMakeLists.txt @@ -25,6 +25,6 @@ alias-config.c alias-config.h alias-info.c alias-info.h) set_target_properties(alias PROPERTIES PREFIX "") -target_link_libraries(alias) +target_link_libraries(alias coverage_config) install(TARGETS alias LIBRARY DESTINATION ${LIBDIR}/plugins) -- cgit v1.2.3