Check for service validity in more places
BUG: 352582
This commit is contained in:
parent
2824260096
commit
d9be8f970c
3 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ add_subdirectory(plasmoid)
|
||||||
add_subdirectory(cli)
|
add_subdirectory(cli)
|
||||||
add_subdirectory(fileitemactionplugin)
|
add_subdirectory(fileitemactionplugin)
|
||||||
|
|
||||||
if (TelepathyQt5_FOUND)
|
if (TelepathyQt5_FOUND AND TelepathyQt5Service_FOUND)
|
||||||
add_subdirectory(telepathy-cm)
|
add_subdirectory(telepathy-cm)
|
||||||
endif()
|
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)
|
target_link_libraries(kdeconnectd kdeconnectcore KF5::KIOWidgets KF5::DBusAddons KF5::Notifications KF5::I18n Qt5::Widgets)
|
||||||
|
|
||||||
ecm_mark_nongui_executable(kdeconnectd)
|
ecm_mark_nongui_executable(kdeconnectd)
|
||||||
if(TelepathyQt5_FOUND)
|
if(TelepathyQt5_FOUND AND TelepathyQt5_FOUND)
|
||||||
target_link_libraries(kdeconnectd connectcm)
|
target_link_libraries(kdeconnectd connectcm)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ target_link_libraries(kdeconnect_telephony
|
||||||
KF5::Notifications
|
KF5::Notifications
|
||||||
)
|
)
|
||||||
|
|
||||||
if (TelepathyQt5_FOUND)
|
if (TelepathyQt5_FOUND AND TelepathyQt5_FOUND)
|
||||||
target_link_libraries(kdeconnect_telephony
|
target_link_libraries(kdeconnect_telephony
|
||||||
connectcm
|
connectcm
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue