kdeconnect-kde/plugins/telephony/CMakeLists.txt
David Edmundson e4cbf22519 Telepathy integration
This sends recieved text messages to any Telepathy client and allows the
user to respond from there.
This should work with both our clients and Empathy.

An account on telepathy is created on activation.

As Telepathy clients expect backends to be always running, this is
started by the daemon to
suppress client errors. The plugin system then talks to the same CM via
use of a singleton accessor.

Based on work by Alexandr Akulich then tidied up and rebased.
2015-09-10 20:36:46 +02:00

20 lines
No EOL
437 B
CMake

find_package(KF5 REQUIRED COMPONENTS Notifications)
set(kdeconnect_telephony_SRCS
telephonyplugin.cpp
sendsmsdialog.cpp
)
kdeconnect_add_plugin(kdeconnect_telephony JSON kdeconnect_telephony.json SOURCES ${kdeconnect_telephony_SRCS})
target_link_libraries(kdeconnect_telephony
kdeconnectcore
KF5::I18n
KF5::Notifications
)
if (TelepathyQt5_FOUND)
target_link_libraries(kdeconnect_telephony
connectcm
)
endif()