mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Disable some dependencies explicitly on Mac.
This commit is contained in:
parent
21415ff230
commit
aec65c86b6
@ -11,7 +11,10 @@ find_package(Qt4 4.5.0 REQUIRED QtCore QtGui QtOpenGL QtSql QtNetwork QtXml)
|
|||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
find_package(Qt4 REQUIRED QtDbus)
|
find_package(Qt4 REQUIRED QtDbus)
|
||||||
endif(UNIX AND NOT APPLE)
|
endif(UNIX AND NOT APPLE)
|
||||||
find_package(Qt4 COMPONENTS Phonon QtWebKit)
|
|
||||||
|
if(NOT APPLE)
|
||||||
|
find_package(Qt4 COMPONENTS Phonon QtWebKit)
|
||||||
|
endif(NOT APPLE)
|
||||||
|
|
||||||
# Find Qt's lconvert binary. Try qt's binary dir first, fall back to looking in PATH
|
# Find Qt's lconvert binary. Try qt's binary dir first, fall back to looking in PATH
|
||||||
find_program(QT_LCONVERT_EXECUTABLE NAMES lconvert lconvert-qt4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH)
|
find_program(QT_LCONVERT_EXECUTABLE NAMES lconvert lconvert-qt4 PATHS ${QT_BINARY_DIR} NO_DEFAULT_PATH)
|
||||||
@ -135,9 +138,9 @@ if(ENABLE_LIBGPOD AND LIBGPOD_FOUND)
|
|||||||
set(HAVE_LIBGPOD ON)
|
set(HAVE_LIBGPOD ON)
|
||||||
endif(ENABLE_LIBGPOD AND LIBGPOD_FOUND)
|
endif(ENABLE_LIBGPOD AND LIBGPOD_FOUND)
|
||||||
|
|
||||||
if(ENABLE_GIO AND GIO_FOUND)
|
if(ENABLE_GIO AND GIO_FOUND AND NOT APPLE)
|
||||||
set(HAVE_GIO ON)
|
set(HAVE_GIO ON)
|
||||||
endif(ENABLE_GIO AND GIO_FOUND)
|
endif(ENABLE_GIO AND GIO_FOUND AND NOT APPLE)
|
||||||
|
|
||||||
if(ENABLE_IMOBILEDEVICE AND IMOBILEDEVICE_FOUND AND PLIST_FOUND AND HAVE_LIBGPOD AND USBMUXD_FOUND)
|
if(ENABLE_IMOBILEDEVICE AND IMOBILEDEVICE_FOUND AND PLIST_FOUND AND HAVE_LIBGPOD AND USBMUXD_FOUND)
|
||||||
set(HAVE_IMOBILEDEVICE ON)
|
set(HAVE_IMOBILEDEVICE ON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user