From: Aleksandar Donchev Date: Mon, 11 Nov 2013 12:47:51 +0000 (+0100) Subject: * CommonAPI cmake scripts cleaned from redundant dbus linking parameters . X-Git-Tag: accepted/tizen/ivi/20140919.141601~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0db55e3e2a37119d10b6db6092480fa544fd88b;p=profile%2Fivi%2Fgenivi%2Fgenivi-audio-manager.git * CommonAPI cmake scripts cleaned from redundant dbus linking parameters . Signed-off-by: Christian Linke --- 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})