28 lines
1.1 KiB
CMake
28 lines
1.1 KiB
CMake
|
find_package(KF5 CONFIG REQUIRED IdleTime ItemModels WidgetsAddons WindowSystem Codecs Archive CoreAddons Solid ThreadWeaver GlobalAccel
|
||
|
Config Auth JS Wallet DBusAddons I18n GuiAddons ConfigWidgets
|
||
|
Service ItemViews Notifications IconThemes Completion JobWidgets Sonnet TextWidgets XmlGui Crash
|
||
|
Bookmarks Declarative UnitConversion Parts Kross KIO)
|
||
|
|
||
|
find_package(KF5CoreAddons REQUIRED)
|
||
|
|
||
|
find_package(KF5Solid REQUIRED)
|
||
|
|
||
|
find_package(KF5Declarative REQUIRED NO_MODULE)
|
||
|
|
||
|
include(KF5PlasmaMacros)
|
||
|
include(KF5PlasmaMacros.cmake)
|
||
|
|
||
|
target_link_libraries(Foo
|
||
|
Qt5::Test
|
||
|
Qt5::Declarative
|
||
|
KF5::Plasma
|
||
|
KF5::Archive KF5::CoreAddons
|
||
|
KF5::ConfigGui
|
||
|
KF5::I18n
|
||
|
KF5::KIOCore
|
||
|
KF5::Service
|
||
|
KF5::PlasmaQuick
|
||
|
)
|
||
|
|
||
|
target_link_libraries(plasma-example-kpart-shell KF5::Plasma KF5::Parts)
|