2015-04-04 18:10:19 +01:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kded")
|
2015-02-24 06:12:45 +00:00
|
|
|
|
|
|
|
add_executable(kdeconnectd kdeconnectd.cpp)
|
2019-04-30 18:03:24 +01:00
|
|
|
target_include_directories(kdeconnectd PUBLIC ${CMAKE_BINARY_DIR})
|
2015-05-04 23:41:39 +01:00
|
|
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::KIOWidgets KF5::DBusAddons KF5::Notifications KF5::I18n Qt5::Widgets)
|
2015-02-24 06:12:45 +00:00
|
|
|
|
2015-09-10 14:51:38 +01:00
|
|
|
ecm_mark_nongui_executable(kdeconnectd)
|
|
|
|
|
2019-05-10 23:38:41 +01:00
|
|
|
configure_file(org.kde.kdeconnect.daemon.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop)
|
2015-02-24 06:12:45 +00:00
|
|
|
configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service)
|
|
|
|
|
2019-05-10 23:19:52 +01:00
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
2015-02-24 06:12:45 +00:00
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS kdeconnectd DESTINATION ${LIBEXEC_INSTALL_DIR})
|
2014-11-30 01:52:43 +00:00
|
|
|
|