Check for service validity in more places

BUG: 352582
This commit is contained in:
David Edmundson 2015-09-11 21:46:25 +02:00
parent 2824260096
commit d9be8f970c
3 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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
)