1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00
latte-dock/plasmoid/CMakeLists.txt
2023-09-30 08:01:54 +08:00

20 lines
621 B
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.latte.plasmoid\")
plasma_install_package(package org.kde.latte.plasmoid)
set(tasks_SRCS
plugin/types.cpp
plugin/lattetasksplugin.cpp
)
add_library(lattetasksplugin SHARED ${tasks_SRCS})
target_link_libraries(lattetasksplugin
Qt::Core
Qt::Qml
KF6::Plasma
KF6::PlasmaQuick)
install(TARGETS lattetasksplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/private/tasks)
install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/private/tasks)