Commit d9be8f97 authored by David Edmundson's avatar David Edmundson

Check for service validity in more places

BUG: 352582
parent 28242600
......@@ -55,7 +55,7 @@ add_subdirectory(plasmoid)
add_subdirectory(cli)
add_subdirectory(fileitemactionplugin)
if (TelepathyQt5_FOUND)
if (TelepathyQt5_FOUND AND TelepathyQt5Service_FOUND)
add_subdirectory(telepathy-cm)
endif()
......
......@@ -8,7 +8,7 @@ add_executable(kdeconnectd kdeconnectd.cpp)
target_link_libraries(kdeconnectd kdeconnectcore KF5::KIOWidgets KF5::DBusAddons KF5::Notifications KF5::I18n Qt5::Widgets)
ecm_mark_nongui_executable(kdeconnectd)
if(TelepathyQt5_FOUND)
if(TelepathyQt5_FOUND AND TelepathyQt5_FOUND)
target_link_libraries(kdeconnectd connectcm)
endif()
......
......@@ -13,7 +13,7 @@ target_link_libraries(kdeconnect_telephony
KF5::Notifications
)
if (TelepathyQt5_FOUND)
if (TelepathyQt5_FOUND AND TelepathyQt5_FOUND)
target_link_libraries(kdeconnect_telephony
connectcm
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment