summaryrefslogtreecommitdiff
path: root/cmake/FindCommonAPI_DBus.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindCommonAPI_DBus.cmake')
-rw-r--r--cmake/FindCommonAPI_DBus.cmake14
1 files changed, 1 insertions, 13 deletions
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})