Merge pull request #5205 from evsh/cmake

cmake: fix powermanagement compilation
This commit is contained in:
sledgehammer999 2016-05-03 08:28:04 -05:00
commit f6ff680295
3 changed files with 7 additions and 0 deletions

View file

@ -123,6 +123,11 @@ else (QT4_FOUND)
target_link_libraries(qbt_base Qt5::Gui Qt5::Widgets)
endif (GUI)
endif (QT4_FOUND)
if (DBUS)
target_link_qt_components(qbt_base DBus)
endif ()
if (APPLE)
find_library(IOKit_LIBRARY IOKit)
find_library(Carbon_LIBRARY Carbon)