Changeset View
Changeset View
Standalone View
Standalone View
plugin/CMakeLists.txt
Show All 9 Lines | 9 | set(qqc2desktopstyle_SRCS | |||
---|---|---|---|---|---|
10 | ${qqc2desktopstyle_SRCS} | 10 | ${qqc2desktopstyle_SRCS} | ||
11 | #FIXME: remove when we can depend from Qt 5.8+ | 11 | #FIXME: remove when we can depend from Qt 5.8+ | ||
12 | qsgninepatchnode.cpp | 12 | qsgninepatchnode.cpp | ||
13 | qsgdefaultninepatchnode.cpp | 13 | qsgdefaultninepatchnode.cpp | ||
14 | ) | 14 | ) | ||
15 | endif() | 15 | endif() | ||
16 | 16 | | |||
17 | add_library(qqc2desktopstyleplugin SHARED ${qqc2desktopstyle_SRCS}) | 17 | add_library(qqc2desktopstyleplugin SHARED ${qqc2desktopstyle_SRCS}) | ||
18 | target_link_libraries(qqc2desktopstyleplugin Qt5::Core Qt5::Qml Qt5::Quick Qt5::Gui Qt5::Widgets KF5::Kirigami2) | 18 | target_link_libraries(qqc2desktopstyleplugin Qt5::Core Qt5::Qml Qt5::Quick Qt5::Gui Qt5::Widgets KF5::ConfigCore KF5::Kirigami2) | ||
19 | 19 | | |||
20 | if(KF5ConfigWidgets_FOUND) | 20 | if(KF5ConfigWidgets_FOUND) | ||
21 | target_link_libraries(qqc2desktopstyleplugin | 21 | target_link_libraries(qqc2desktopstyleplugin | ||
22 | KF5::ConfigWidgets | 22 | KF5::ConfigWidgets | ||
23 | ) | 23 | ) | ||
24 | endif() | 24 | endif() | ||
25 | 25 | | |||
26 | install(TARGETS qqc2desktopstyleplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private) | 26 | install(TARGETS qqc2desktopstyleplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private) | ||
27 | install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private) | 27 | install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/qqc2desktopstyle/private) |