809c1238cf
install into the right destination dir; this allows, among others, to answer to the pairing request coming from the phone
18 lines
767 B
CMake
18 lines
767 B
CMake
include_directories(${CMAKE_SOURCE_DIR})
|
|
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kded")
|
|
|
|
configure_file(config-kded.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kded.h)
|
|
|
|
add_executable(kdeconnectd kdeconnectd.cpp)
|
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::DBusAddons KF5::ConfigWidgets)
|
|
|
|
add_library(kded_kdeconnect MODULE kded.cpp)
|
|
|
|
target_link_libraries(kded_kdeconnect KF5::Service KF5::DBusAddons)
|
|
|
|
install(TARGETS kdeconnectd DESTINATION ${LIBEXEC_INSTALL_DIR})
|
|
install(TARGETS kded_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
install(FILES kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)
|
|
|
|
#TODO: Split this into several files for core and for each plugin
|
|
install(FILES kdeconnect.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
|