18 lines
765 B
CMake
18 lines
765 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::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)
|