Use find_package for KActivities instead of having it in KF5 section

This is how kde-workspace is finding KActivities and it got tested to
fix the build problems on build.kde.org.
This commit is contained in:
Martin Gräßlin 2013-11-26 08:13:27 +01:00
parent d1dc311345
commit b80cf620cf

View File

@ -45,7 +45,13 @@ find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Quick X11Extras Sql UiTools Qml W
find_package(KF5 CONFIG REQUIRED KIdleTime ItemModels KWidgetsAddons KWindowSystem KCodecs KArchive KCoreAddons Solid ThreadWeaver
KConfig KAuth KJS KWallet KDBusAddons KI18n KGuiAddons KConfigWidgets
KService ItemViews KNotifications KIconThemes KCompletion KJobWidgets KConfigWidgets Sonnet KTextWidgets XmlGui KCrash
KBookmarks KDeclarative KUnitConversion KParts Kross KIO KActivities)
KBookmarks KDeclarative KUnitConversion KParts Kross KIO)
find_package(KActivities)
set_package_properties(KActivities PROPERTIES DESCRIPTION "The KActivities library"
URL "https://projects.kde.org/kactivities"
TYPE REQUIRED
)
#optional features
find_package(X11 MODULE)