Changeset View
Changeset View
Standalone View
Standalone View
kioslave/desktop/CMakeLists.txt
- This file was added.
1 | add_subdirectory(tests) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | add_library(kio_desktop MODULE kio_desktop.cpp) | ||||
4 | | ||||
5 | target_link_libraries(kio_desktop Qt5::DBus Qt5::Gui KF5::KIOCore) | ||||
6 | | ||||
7 | set_target_properties(kio_desktop PROPERTIES OUTPUT_NAME "desktop") | ||||
8 | | ||||
9 | install(TARGETS kio_desktop DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kio) | ||||
10 | | ||||
11 | ########### next target ############### | ||||
12 | | ||||
13 | add_library(desktopnotifier MODULE desktopnotifier.cpp) | ||||
14 | kcoreaddons_desktop_to_json(desktopnotifier desktopnotifier.desktop) | ||||
15 | target_link_libraries(desktopnotifier KF5::KIOCore KF5::DBusAddons) | ||||
16 | | ||||
17 | install(TARGETS desktopnotifier DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kded) | ||||
18 | | ||||
19 | ########### install files ############### | ||||
20 | | ||||
21 | install( FILES desktop.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) | ||||
22 | | ||||
23 | install(FILES directory.desktop directory.trash DESTINATION ${DATA_INSTALL_DIR}/kio_desktop) | ||||
24 | install(FILES Home.desktop DESTINATION ${DATA_INSTALL_DIR}/kio_desktop/DesktopLinks) |