1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-09 05:18:18 +03:00
latte-dock/containment/CMakeLists.txt
Alexander Lohnau 4e6dca0879 Remove configure_file method calls for KPackage metadata.desktop files
We already have the configured desktop files in-source. Also, the author information is nothing which is subject to change.
2022-05-15 09:14:46 +00:00

24 lines
802 B
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.latte.containment\")
plasma_install_package(package org.kde.latte.containment)
set(containment_SRCS
plugin/lattetypes.h
plugin/types.cpp
plugin/layoutmanager.cpp
plugin/lattecontainmentplugin.cpp
)
add_library(lattecontainmentplugin SHARED ${containment_SRCS})
target_link_libraries(lattecontainmentplugin
Qt5::Core
Qt5::Qml
Qt5::Quick
KF5::Declarative
KF5::Plasma
KF5::PlasmaQuick)
install(TARGETS lattecontainmentplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/private/containment)
install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/private/containment)