685e821d0a
Libexec binaries need to be hardcoded, otherwise they are not found. This commit creates a config file and sets the path there. REVIEW: 119148
18 lines
710 B
CMake
18 lines
710 B
CMake
include_directories(${CMAKE_SOURCE_DIR})
|
|
|
|
configure_file(config-kded.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kded.h)
|
|
|
|
add_executable(kdeconnectd kdeconnectd.cpp)
|
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::ConfigWidgets)
|
|
|
|
add_library(kded_kdeconnect MODULE kded.cpp)
|
|
|
|
target_link_libraries(kded_kdeconnect KF5::DBusAddons KF5::KDELibs4Support)
|
|
|
|
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 ${DATA_INSTALL_DIR}/kdeconnect)
|
|
|