kde-workspace/plasma/toolboxes/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

30 lines
973 B
CMake

project(plasma-toolbox)
#Desktop toolbox
set(desktoptoolbox_SRCS internaltoolbox.cpp desktoptoolbox.cpp)
kde4_add_plugin(plasma_toolbox_desktoptoolbox ${desktoptoolbox_SRCS})
target_link_libraries(plasma_toolbox_desktoptoolbox ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} kworkspace)
install(TARGETS plasma_toolbox_desktoptoolbox
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-toolbox-desktoptoolbox.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
set(desktoptoolbox_SRCS internaltoolbox.cpp desktoptoolbox.cpp)
#Panel toolbox
set(paneltoolbox_SRCS internaltoolbox.cpp paneltoolbox.cpp)
kde4_add_plugin(plasma_toolbox_paneltoolbox ${paneltoolbox_SRCS})
target_link_libraries(plasma_toolbox_paneltoolbox ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
install(TARGETS plasma_toolbox_paneltoolbox
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-toolbox-paneltoolbox.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR})