Commit 17e4360c authored by Weixuan Xiao's avatar Weixuan Xiao

Enable sms test only when SMSAPP_ENABLED set to ON

parent 05826cc6
Pipeline #3914 passed with stage
in 10 minutes and 38 seconds
......@@ -40,4 +40,6 @@ ecm_add_test(testnotificationlistener.cpp
../plugins/sendnotifications/notifyingapplication.cpp
TEST_NAME testnotificationlistener
LINK_LIBRARIES ${kdeconnect_libraries} Qt5::DBus KF5::Notifications KF5::IconThemes)
ecm_add_test(testconversationlistmodel.cpp LINK_LIBRARIES ${kdeconnect_sms_libraries})
if(SMSAPP_ENABLED)
ecm_add_test(testconversationlistmodel.cpp LINK_LIBRARIES ${kdeconnect_sms_libraries})
endif()
\ No newline at end of file
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