Enable sms test only when SMSAPP_ENABLED set to ON
This commit is contained in:
parent
05826cc650
commit
17e4360c53
1 changed files with 3 additions and 1 deletions
|
@ -40,4 +40,6 @@ ecm_add_test(testnotificationlistener.cpp
|
||||||
../plugins/sendnotifications/notifyingapplication.cpp
|
../plugins/sendnotifications/notifyingapplication.cpp
|
||||||
TEST_NAME testnotificationlistener
|
TEST_NAME testnotificationlistener
|
||||||
LINK_LIBRARIES ${kdeconnect_libraries} Qt5::DBus KF5::Notifications KF5::IconThemes)
|
LINK_LIBRARIES ${kdeconnect_libraries} Qt5::DBus KF5::Notifications KF5::IconThemes)
|
||||||
|
if(SMSAPP_ENABLED)
|
||||||
ecm_add_test(testconversationlistmodel.cpp LINK_LIBRARIES ${kdeconnect_sms_libraries})
|
ecm_add_test(testconversationlistmodel.cpp LINK_LIBRARIES ${kdeconnect_sms_libraries})
|
||||||
|
endif()
|
Loading…
Reference in a new issue