Fix build with MDNS disabled

This commit is contained in:
Nicolas Fella 2023-09-10 13:51:52 +02:00 committed by Albert Vaca Cintora
parent dd4498d77c
commit 1bebc3bc5d

View file

@ -12,4 +12,7 @@ set(kdeconnect_libraries
ecm_add_test(pluginloadtest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
ecm_add_test(sendfiletest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
ecm_add_test(mdnstest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
if(MDNS_ENABLED)
ecm_add_test(mdnstest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
endif()