2014-06-14 14:22:40 +01:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR})
|
2014-06-14 13:31:31 +01:00
|
|
|
|
2014-07-05 12:28:42 +01:00
|
|
|
configure_file(config-kded.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kded.h)
|
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_executable(kdeconnectd kdeconnectd.cpp)
|
|
|
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::ConfigWidgets)
|
2014-01-17 13:55:04 +00:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_library(kded_kdeconnect MODULE kded.cpp)
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
target_link_libraries(kded_kdeconnect KF5::DBusAddons KF5::KDELibs4Support)
|
2014-01-17 13:55:04 +00:00
|
|
|
|
|
|
|
install(TARGETS kdeconnectd DESTINATION ${LIBEXEC_INSTALL_DIR})
|
2013-07-02 00:50:32 +01:00
|
|
|
install(TARGETS kded_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)
|
2014-06-17 21:21:31 +01:00
|
|
|
|
|
|
|
#TODO: Split this into several files for core and for each plugin
|
2013-07-02 00:50:32 +01:00
|
|
|
install(FILES kdeconnect.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kdeconnect)
|
2014-06-17 21:21:31 +01:00
|
|
|
|