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:
parent
d1dc311345
commit
b80cf620cf
@ -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
|
find_package(KF5 CONFIG REQUIRED KIdleTime ItemModels KWidgetsAddons KWindowSystem KCodecs KArchive KCoreAddons Solid ThreadWeaver
|
||||||
KConfig KAuth KJS KWallet KDBusAddons KI18n KGuiAddons KConfigWidgets
|
KConfig KAuth KJS KWallet KDBusAddons KI18n KGuiAddons KConfigWidgets
|
||||||
KService ItemViews KNotifications KIconThemes KCompletion KJobWidgets KConfigWidgets Sonnet KTextWidgets XmlGui KCrash
|
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
|
#optional features
|
||||||
find_package(X11 MODULE)
|
find_package(X11 MODULE)
|
||||||
|
Loading…
Reference in New Issue
Block a user