CMakeLists.txt 767 Bytes
Newer Older
1
2
set( sidebar_mode_srcs
     SidebarMode.cpp
Marco Martin's avatar
Marco Martin committed
3
     ToolTips/tooltipmanager.cpp
4
5
6
7
) 

add_library(systemsettings_sidebar_mode MODULE ${sidebar_mode_srcs})

8
9
kcoreaddons_desktop_to_json(systemsettings_sidebar_mode settings-sidebar-view.desktop)

10
11
target_link_libraries(systemsettings_sidebar_mode systemsettingsview
    KF5::ItemViews
12
    KF5::ItemModels
13
14
15
16
    KF5::KCMUtils
    KF5::I18n
    KF5::KIOWidgets
    KF5::Service
Marco Martin's avatar
Marco Martin committed
17
    KF5::XmlGui
Marco Martin's avatar
Marco Martin committed
18
    KF5::Package
19
    KF5::Declarative
20
    KF5::ActivitiesStats
21
22
23
    Qt::Qml
    Qt::Quick
    Qt::QuickWidgets
24
25
)

26
install( TARGETS systemsettings_sidebar_mode DESTINATION ${KDE_INSTALL_PLUGINDIR}/systemsettingsview )
Marco Martin's avatar
Marco Martin committed
27
install(DIRECTORY package/ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/kpackage/genericqml/org.kde.systemsettings.sidebar)
28