kde-workspace/kcontrol/desktoppaths/CMakeLists.txt
Ivailo Monev 3b2b21d1f7 kioslave: remove redundant desktop KIO slave
now the home, trash and .directory files will be copied when the desktop
is started (by kcminit) rather than when desktop:/ is accessed for the
first time, no functional change besides improvement including less
.protocol files to parse and one less KIO slave to maintain

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-22 02:14:30 +03:00

28 lines
539 B
CMake

set(kcm_desktoppaths_PART_SRCS
globalpaths.cpp
kcmdesktoppaths.cpp
)
kde4_add_plugin(kcm_desktoppaths ${kcm_desktoppaths_PART_SRCS})
target_link_libraries(kcm_desktoppaths
KDE4::kcmutils
KDE4::kio
)
install(
TARGETS kcm_desktoppaths
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES desktoppath.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)
install(
FILES
data/directory.desktop
data/Trash.desktop
data/Home.desktop
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kcm_desktoppaths
)