mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-24 00:31:36 +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
|
||||
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(Qt5DBus ${QT_MIN_VERSION})
|
||||
if(HAVE_X11)
|
||||
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
|
||||
find_package(Qt5DBus ${QT_MIN_VERSION})
|
||||
endif()
|
||||
if(APPLE)
|
||||
find_package(Qt5 REQUIRED COMPONENTS MacExtras)
|
||||
|
Loading…
Reference in New Issue
Block a user