From 88b6ae7330c1f3d015b1d2584cd7fe678a0e5c72 Mon Sep 17 00:00:00 2001 From: Adam Malinowski Date: Mon, 17 Nov 2014 08:50:27 +0100 Subject: [PATCH] Fix linking dependencies PluginManager was moved from service to common but linking with 'dl' library stayed in service. This patch moves linking with dl to common. Change-Id: If1be63e86dfe4c8651b48bbe9facc80160fd9f32 --- src/common/CMakeLists.txt | 1 + src/service/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 8cf615c..bd3911f 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -89,6 +89,7 @@ ENDIF (CMAKE_BUILD_TYPE MATCHES "DEBUG") TARGET_LINK_LIBRARIES(${TARGET_CYNARA_COMMON} ${CYNARA_DEP_LIBRARIES} ${CYNARA_DBG_LIBRARIES} + dl ) INSTALL(TARGETS ${TARGET_CYNARA_COMMON} DESTINATION ${LIB_INSTALL_DIR}) diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt index d4dd32e..b28058b 100644 --- a/src/service/CMakeLists.txt +++ b/src/service/CMakeLists.txt @@ -41,7 +41,6 @@ TARGET_LINK_LIBRARIES(${TARGET_CYNARA} ${CYNARA_DEP_LIBRARIES} ${TARGET_CYNARA_COMMON} ${TARGET_LIB_CYNARA_STORAGE} - dl ) INSTALL(TARGETS ${TARGET_CYNARA} DESTINATION ${BIN_INSTALL_DIR}) -- 2.7.4