diff options
author | Aleksandar Donchev <Aleksander.Donchev@partner.bmw.de> | 2013-11-11 13:47:51 +0100 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2014-03-28 16:47:31 +0100 |
commit | d0db55e3e2a37119d10b6db6092480fa544fd88b (patch) | |
tree | baa2c135121d8700ee2afe5e23119b63f9758242 | |
parent | 80e896427c866267109cab2cf713a3f364f4948a (diff) | |
download | audiomanager-d0db55e3e2a37119d10b6db6092480fa544fd88b.tar.gz |
* CommonAPI cmake scripts cleaned from redundant dbus linking parameters .
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r-- | PluginCommandInterfaceCAPI/test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | cmake/FindCommonAPI_DBus.cmake | 14 |
2 files changed, 1 insertions, 14 deletions
diff --git a/PluginCommandInterfaceCAPI/test/CMakeLists.txt b/PluginCommandInterfaceCAPI/test/CMakeLists.txt index acfc1cf..8dc6bfa 100644 --- a/PluginCommandInterfaceCAPI/test/CMakeLists.txt +++ b/PluginCommandInterfaceCAPI/test/CMakeLists.txt @@ -78,7 +78,6 @@ ADD_EXECUTABLE(AmCommandSenderCAPITest ${CAPI_PLUGIN_INTERFACE_SRCS_CXX} ${CAPI_ TARGET_LINK_LIBRARIES(AmCommandSenderCAPITest ${DLT_LIBRARIES} - ${DBUS_LIBRARY} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${PYTHON_LIBRARY} diff --git a/cmake/FindCommonAPI_DBus.cmake b/cmake/FindCommonAPI_DBus.cmake index bd9aff4..6343766 100644 --- a/cmake/FindCommonAPI_DBus.cmake +++ b/cmake/FindCommonAPI_DBus.cmake @@ -57,19 +57,7 @@ ELSE(COMMON_API_DBUS_FOUND) ENDIF(COMMON_API_DBUS_FOUND) - -FIND_LIBRARY(DBUS_LIBRARY - NAMES dbus-1 - PATHS - /lib - /usr/local/lib - /usr/lib -) - -IF (NOT DBUS_LIBRARY) - MESSAGE (ERROR "did not find DBus library!") -ENDIF (NOT DBUS_LIBRARY) - + SET(COMMON_API_DBUS_LIBRARIES ${COMMON_API_DBUS_LIBRARY} ${DBUS_LIBRARY}) |