mirror-kde-plasma-desktop/applets/pager/CMakeLists.txt
Aleix Pol 88ae0b60b8 Initial import from the monolithic kde-workspace.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
techbase wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://community.kde.org/Frameworks/GitOldHistory

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo kde-workspace, frameworks  branch, at commit
049113e719dd2fc4446d054fa1a3aada330094f0
2014-03-31 04:23:39 +02:00

27 lines
827 B
CMake

plasma_install_package(package org.kde.plasma.pager)
set(pager_SRCS
plugin/model.cpp
plugin/pager.cpp
plugin/pagerplugin.cpp)
add_library(pagerplugin SHARED ${pager_SRCS})
target_link_libraries(pagerplugin
KF5::KIOCore
KF5::WindowSystem
KF5::Plasma
KF5::Activities
KF5::KDE4Support
Qt5::Core
Qt5::Qml
Qt5::Quick
Qt5::DBus
taskmanager)
if (X11_FOUND)
target_link_libraries(pagerplugin Qt5::X11Extras)
endif()
install(TARGETS pagerplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager)
install(FILES plugin/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/pager)