2015-02-24 06:12:45 +00:00
|
|
|
project(kdeconnectd)
|
|
|
|
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-daemon")
|
|
|
|
|
|
|
|
add_executable(kdeconnectd kdeconnectd.cpp)
|
2015-03-04 21:26:34 +00:00
|
|
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::DBusAddons Qt5::Widgets)
|
2015-02-24 06:12:45 +00:00
|
|
|
|
|
|
|
configure_file(kdeconnectd.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdeconnectd.desktop)
|
|
|
|
configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service)
|
|
|
|
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdeconnectd.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS kdeconnectd DESTINATION ${LIBEXEC_INSTALL_DIR})
|