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/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/python/CMakeLists.txt') diff --git a/src/plugins/python/CMakeLists.txt b/src/plugins/python/CMakeLists.txt index 63ff4ec24..a6ca8d2b5 100644 --- a/src/plugins/python/CMakeLists.txt +++ b/src/plugins/python/CMakeLists.txt @@ -25,7 +25,7 @@ set_target_properties(python PROPERTIES PREFIX "") if(PYTHON_FOUND) include_directories(${PYTHON_INCLUDE_PATH}) set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${PYTHON_LFLAGS}") - target_link_libraries(python ${PYTHON_LIBRARY} weechat_plugins_scripts) + target_link_libraries(python ${PYTHON_LIBRARY} weechat_plugins_scripts coverage_config) endif() install(TARGETS python LIBRARY DESTINATION ${LIBDIR}/plugins) -- cgit v1.2.3