You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
864 B

set(systemtrayplugin_SRCS
systemtrayplugin.cpp
host.cpp
# manager.cpp
protocol.cpp
task.cpp
tasklistmodel.cpp
protocols/dbussystemtray/dbussystemtraytask.cpp
protocols/dbussystemtray/dbussystemtrayprotocol.cpp
protocols/plasmoid/plasmoidtask.cpp
protocols/plasmoid/plasmoidprotocol.cpp
)
add_library(systemtrayplugin SHARED ${systemtrayplugin_SRCS})
target_link_libraries(systemtrayplugin
Qt5::DBus
Qt5::Quick
Qt5::Qml
KF5::Declarative
KF5::Plasma
KF5::PlasmaQuick
KF5::WindowSystem
KF5::Service
KF5::I18n
KF5::IconThemes
KF5::KIOCore
KF5::KIOWidgets
KF5::XmlGui
)
set(plugin_install_path ${QML_INSTALL_DIR}/org/kde/private/systemtray)
install(TARGETS systemtrayplugin DESTINATION ${plugin_install_path})
install(FILES qmldir DESTINATION ${plugin_install_path})