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)