1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 17:17:50 +03:00
latte-dock/containmentactions/contextmenu/CMakeLists.txt
Michail Vourlakos 88f72bcc3b contextmenu:draw layout icons
--change also layout actions to radiobuttons
2021-05-15 15:59:52 +03:00

22 lines
829 B
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_containmentactions_lattecontextmenu\")
set(contextmenu_SRCS
generictools.cpp
layoutmenuitemwidget.cpp
menu.cpp
)
add_library(plasma_containmentactions_lattecontextmenu MODULE ${contextmenu_SRCS})
kcoreaddons_desktop_to_json(plasma_containmentactions_lattecontextmenu plasma-containmentactions-lattecontextmenu.desktop)
target_link_libraries(plasma_containmentactions_lattecontextmenu
Qt5::DBus
Qt5::Widgets
KF5::I18n
KF5::XmlGui
KF5::Plasma)
install(TARGETS plasma_containmentactions_lattecontextmenu DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES plasma-containmentactions-lattecontextmenu.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})