You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
924 B
27 lines
924 B
add_definitions(-DTRANSLATION_DOMAIN=\"kio_desktop\") |
|
|
|
if(BUILD_TESTING) |
|
add_subdirectory(tests) |
|
endif() |
|
|
|
add_library(kio_desktop MODULE kio_desktop.cpp) |
|
|
|
target_link_libraries(kio_desktop Qt5::DBus Qt5::Gui KF5::KIOCore KF5::I18n Qt5::Network) |
|
|
|
set_target_properties(kio_desktop PROPERTIES OUTPUT_NAME "desktop") |
|
|
|
install(TARGETS kio_desktop DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio) |
|
|
|
########### next target ############### |
|
|
|
add_library(desktopnotifier MODULE desktopnotifier.cpp) |
|
kcoreaddons_desktop_to_json(desktopnotifier desktopnotifier.desktop) |
|
target_link_libraries(desktopnotifier KF5::KIOCore KF5::DBusAddons) |
|
|
|
install(TARGETS desktopnotifier DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded) |
|
|
|
########### install files ############### |
|
|
|
install( FILES desktop.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |
|
|
|
install(FILES directory.desktop directory.trash DESTINATION ${KDE_INSTALL_DATADIR}/kio_desktop)
|
|
|