Changeset View
Changeset View
Standalone View
Standalone View
applets/pager/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.pager\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.pager\") | ||
---|---|---|---|---|---|
2 | plasma_install_package(package org.kde.plasma.pager) | 2 | plasma_install_package(package org.kde.plasma.pager) | ||
3 | 3 | | |||
4 | set(pager_SRCS | 4 | set(pager_SRCS | ||
5 | plugin/model.cpp | 5 | plugin/pagermodel.cpp | ||
6 | plugin/pager.cpp | 6 | plugin/pagerplugin.cpp | ||
7 | plugin/pagerplugin.cpp) | 7 | plugin/windowmodel.cpp) | ||
8 | 8 | | |||
9 | add_library(pagerplugin SHARED ${pager_SRCS}) | 9 | add_library(pagerplugin SHARED ${pager_SRCS}) | ||
10 | 10 | | |||
11 | target_link_libraries(pagerplugin | 11 | target_link_libraries(pagerplugin | ||
12 | KF5::KIOCore | 12 | KF5::KIOCore | ||
13 | KF5::WindowSystem | 13 | KF5::WindowSystem | ||
14 | KF5::Plasma | 14 | KF5::Plasma | ||
15 | KF5::Activities | 15 | KF5::Activities | ||
16 | KF5::KDELibs4Support | 16 | KF5::KDELibs4Support | ||
17 | PW::LibTaskManager | ||||
17 | Qt5::Core | 18 | Qt5::Core | ||
18 | Qt5::Qml | 19 | Qt5::Qml | ||
19 | Qt5::Quick | 20 | Qt5::Quick | ||
20 | Qt5::DBus) | 21 | Qt5::DBus) | ||
21 | 22 | | |||
22 | if (X11_FOUND) | 23 | if (X11_FOUND) | ||
23 | target_link_libraries(pagerplugin Qt5::X11Extras PW::LibTaskManager) | 24 | target_link_libraries(pagerplugin Qt5::X11Extras) | ||
24 | endif() | 25 | endif() | ||
25 | 26 | | |||
26 | install(TARGETS pagerplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager) | 27 | install(TARGETS pagerplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager) | ||
27 | install(FILES plugin/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager) | 28 | install(FILES plugin/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager) |