From be389a12f3bbeaa6a4f1f0e656aaf04a881b9fe5 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 2 Aug 2010 12:42:59 +0000 Subject: [PATCH] Also check for usbmuxd. --- CMakeLists.txt | 1 + src/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46445bf71..65c3233f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ else(WIN32) pkg_check_modules(GIO gio-2.0) pkg_check_modules(IMOBILEDEVICE libimobiledevice-1.0) pkg_check_modules(PLIST libplist) + pkg_check_modules(USBMUXD libusbmuxd) endif(WIN32) find_library(LASTFM_LIBRARIES lastfm) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 68e0c89c5..11b281c2b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -601,8 +601,10 @@ if(HAVE_IMOBILEDEVICE) target_link_libraries(clementine_lib ${IMOBILEDEVICE_LIBRARIES} ${PLIST_LIBRARIES} + ${USBMUXD_LIBRARIES} gstafcsrc ) + link_directories(${USBMUXD_LIBRARY_DIRS}) endif(HAVE_IMOBILEDEVICE)