mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-25 01:02:37 +01:00
Only check for dbus on x11
This commit is contained in:
parent
708a989db7
commit
e2ab832caf
@ -90,9 +90,9 @@ find_path(SPARSEHASH_INCLUDE_DIRS google/sparsetable)
|
|||||||
# QT
|
# QT
|
||||||
set(QT_MIN_VERSION 5.6.0)
|
set(QT_MIN_VERSION 5.6.0)
|
||||||
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core Concurrent Widgets Network Sql Xml OpenGL Test)
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core Concurrent Widgets Network Sql Xml OpenGL Test)
|
||||||
find_package(Qt5DBus ${QT_MIN_VERSION})
|
|
||||||
if(HAVE_X11)
|
if(HAVE_X11)
|
||||||
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
|
||||||
|
find_package(Qt5DBus ${QT_MIN_VERSION})
|
||||||
endif()
|
endif()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
find_package(Qt5 REQUIRED COMPONENTS MacExtras)
|
find_package(Qt5 REQUIRED COMPONENTS MacExtras)
|
||||||
|
Loading…
Reference in New Issue
Block a user