2014-11-13 19:30:51 +02:00
|
|
|
project(plasma-pager)
|
|
|
|
|
2021-07-28 01:38:38 +03:00
|
|
|
include_directories(
|
|
|
|
# for taskmanager_export.h
|
|
|
|
${CMAKE_BINARY_DIR}/libs
|
|
|
|
${CMAKE_BINARY_DIR}/libs/taskmanager
|
|
|
|
)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
set(pager_SRCS
|
|
|
|
model.cpp
|
2015-09-01 04:37:19 +03:00
|
|
|
pager.cpp
|
|
|
|
pagerConfig.ui
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
kde4_add_plugin(plasma_applet_pager ${pager_SRCS})
|
|
|
|
target_link_libraries(plasma_applet_pager
|
2021-07-28 01:38:38 +03:00
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${KDE4_KCMUTILS_LIBS}
|
|
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
|
|
|
taskmanager
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS plasma_applet_pager DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-pager-default.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(DIRECTORY package/ DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma/packages/org.kde.pager)
|