kdeconnect-kde/plugins/telephony/CMakeLists.txt
2015-09-11 21:46:25 +02:00

20 lines
No EOL
460 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 AND TelepathyQt5_FOUND)
target_link_libraries(kdeconnect_telephony
connectcm
)
endif()