Fix includes

This commit is contained in:
Christophe Giboudeaux 2013-12-19 15:23:00 +01:00
parent d71f581115
commit 26948d0cea
6 changed files with 12 additions and 4 deletions

View File

@ -45,7 +45,8 @@ find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Quick X11Extras Sql UiTools Qml W
find_package(KF5 CONFIG REQUIRED IdleTime ItemModels WidgetsAddons WindowSystem Codecs Archive CoreAddons Solid ThreadWeaver GlobalAccel find_package(KF5 CONFIG REQUIRED IdleTime ItemModels WidgetsAddons WindowSystem Codecs Archive CoreAddons Solid ThreadWeaver GlobalAccel
Config Auth JS Wallet DBusAddons I18n GuiAddons ConfigWidgets Config Auth JS Wallet DBusAddons I18n GuiAddons ConfigWidgets
Service ItemViews Notifications IconThemes Completion JobWidgets Sonnet TextWidgets XmlGui Crash Service ItemViews Notifications IconThemes Completion JobWidgets Sonnet TextWidgets XmlGui Crash
Bookmarks Declarative UnitConversion Parts Kross KIO DNSSD) Bookmarks Declarative UnitConversion Parts Kross KIO DNSSD KDE4Support)
find_package(KActivities) find_package(KActivities)
set_package_properties(KActivities PROPERTIES DESCRIPTION "The KActivities library" set_package_properties(KActivities PROPERTIES DESCRIPTION "The KActivities library"

View File

@ -1,5 +1,4 @@
project(corebindings) project(corebindings)
add_definitions(-DHAVE_X11=${HAVE_X11}) add_definitions(-DHAVE_X11=${HAVE_X11})
if(XCB_XCB_FOUND AND XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND) if(XCB_XCB_FOUND AND XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND)
add_definitions(-DHAVE_XCB_COMPOSITE=1) add_definitions(-DHAVE_XCB_COMPOSITE=1)
@ -36,6 +35,8 @@ target_link_libraries(corebindingsplugin
KF5::Declarative KF5::Declarative
KF5::CoreAddons KF5::CoreAddons
KF5::IconThemes KF5::IconThemes
KF5::KDE4Support #for kglobal.h
KF5::Service #for kplugininfo.h
KF5::WindowSystem KF5::WindowSystem
KF5::Plasma) KF5::Plasma)

View File

@ -16,6 +16,8 @@ target_link_libraries(sortfiltermodeltest
Qt5::Gui Qt5::Gui
Qt5::Test Qt5::Test
KF5::I18n KF5::I18n
KF5::KDE4Support #qtest_kde.h
KF5::Service
Qt5::Qml Qt5::Qml
) )

View File

@ -21,7 +21,9 @@ target_link_libraries(plasmacomponentsplugin
Qt5::Qml Qt5::Qml
Qt5::Gui Qt5::Gui
KF5::Declarative KF5::Declarative
KF5::Plasma) KF5::Plasma
KF5::Service #for kplugininfo.h
)
install(TARGETS plasmacomponentsplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/components) install(TARGETS plasmacomponentsplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/components)

View File

@ -20,6 +20,7 @@ target_link_libraries(plasmaextracomponentsplugin
Qt5::Quick Qt5::Quick
Qt5::Qml Qt5::Qml
${KACTIVITIES_LIBRARY} ${KACTIVITIES_LIBRARY}
KF5::Service
KF5::Plasma) KF5::Plasma)

View File

@ -126,7 +126,7 @@ target_link_libraries(KF5Plasma
KF5::GuiAddons KF5::GuiAddons
KF5::IconThemes KF5::IconThemes
KF5::I18n KF5::I18n
KF5::Service KF5::Service # For kplugininfo.h
KF5::KIOCore KF5::KIOCore
KF5::KIOWidgets KF5::KIOWidgets
KF5::ThreadWeaver KF5::ThreadWeaver
@ -137,6 +137,7 @@ target_link_libraries(KF5Plasma
KF5::ConfigWidgets KF5::ConfigWidgets
KF5::GlobalAccel KF5::GlobalAccel
KF5::DNSSD KF5::DNSSD
KF5::KDE4Support #ksharedptr
${PLASMA_EXTRA_LIBS} ${PLASMA_EXTRA_LIBS}
) )