mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
cmake: add Qt::DBus library dependency for base module
This is needed for powermanagement and was mistakenly forgotten
This commit is contained in:
committed by
sledgehammer999
parent
d03a71899e
commit
14a37e8d45
@@ -123,6 +123,11 @@ else (QT4_FOUND)
|
|||||||
target_link_libraries(qbt_base Qt5::Gui Qt5::Widgets)
|
target_link_libraries(qbt_base Qt5::Gui Qt5::Widgets)
|
||||||
endif (GUI)
|
endif (GUI)
|
||||||
endif (QT4_FOUND)
|
endif (QT4_FOUND)
|
||||||
|
|
||||||
|
if (DBUS)
|
||||||
|
target_link_qt_components(qbt_base DBus)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
find_library(IOKit_LIBRARY IOKit)
|
find_library(IOKit_LIBRARY IOKit)
|
||||||
find_library(Carbon_LIBRARY Carbon)
|
find_library(Carbon_LIBRARY Carbon)
|
||||||
|
|||||||
Reference in New Issue
Block a user