cmake: add Qt::DBus library dependency for base module

This is needed for powermanagement and was mistakenly forgotten
This commit is contained in:
Eugene Shalygin 2016-05-01 02:54:53 +02:00
commit 565847ceb3

View file

@ -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)