2015-03-24 11:26:37 +00:00
|
|
|
find_package(KF5 REQUIRED COMPONENTS Notifications)
|
|
|
|
|
2016-06-16 09:16:35 +01:00
|
|
|
include_directories(${CMAKE_BINARY_DIR})
|
|
|
|
|
2013-08-13 22:26:09 +01:00
|
|
|
set(kdeconnect_telephony_SRCS
|
|
|
|
telephonyplugin.cpp
|
2015-09-08 09:05:58 +01:00
|
|
|
sendsmsdialog.cpp
|
2013-08-13 22:26:09 +01:00
|
|
|
)
|
|
|
|
|
2016-06-16 09:16:35 +01:00
|
|
|
qt5_generate_dbus_interface(${CMAKE_SOURCE_DIR}/telepathy-cm/protocol.h ${CMAKE_CURRENT_BINARY_DIR}/kdeconnectinterface.xml)
|
|
|
|
qt5_add_dbus_interface(kdeconnect_telephony_SRCS ${CMAKE_CURRENT_BINARY_DIR}/kdeconnectinterface.xml kdeconnectinterface)
|
|
|
|
|
2015-03-19 15:36:53 +00:00
|
|
|
kdeconnect_add_plugin(kdeconnect_telephony JSON kdeconnect_telephony.json SOURCES ${kdeconnect_telephony_SRCS})
|
2013-08-13 22:26:09 +01:00
|
|
|
|
2014-09-22 08:28:47 +01:00
|
|
|
target_link_libraries(kdeconnect_telephony
|
|
|
|
kdeconnectcore
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Notifications
|
2016-06-16 09:16:35 +01:00
|
|
|
Qt5::DBus
|
2014-09-22 08:28:47 +01:00
|
|
|
)
|