Warning, /plasma/plasma-desktop/applets/pager/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.pager\")
0002 plasma_install_package(package org.kde.plasma.pager)
0003 
0004 set(pager_SRCS
0005     plugin/pagermodel.cpp
0006     plugin/pagerplugin.cpp
0007     plugin/windowmodel.cpp)
0008 
0009 add_library(pagerplugin SHARED ${pager_SRCS})
0010 
0011 target_link_libraries(pagerplugin
0012                       KF5::KIOCore
0013                       KF5::WindowSystem
0014                       KF5::Plasma
0015                       KF5::Activities
0016                       PW::LibTaskManager
0017                       Qt::Core
0018                       Qt::DBus
0019                       Qt::Qml
0020                       Qt::Quick)
0021 
0022 if (X11_FOUND)
0023     if (QT_MAJOR_VERSION EQUAL "5")
0024         target_link_libraries(pagerplugin Qt::X11Extras)
0025     else()
0026         target_link_libraries(pagerplugin Qt::GuiPrivate)
0027     endif()
0028 endif()
0029 
0030 install(TARGETS pagerplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/pager)
0031 install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/pager)