Fix build with MDNS disabled
This commit is contained in:
parent
dd4498d77c
commit
1bebc3bc5d
1 changed files with 4 additions and 1 deletions
|
@ -12,4 +12,7 @@ set(kdeconnect_libraries
|
||||||
|
|
||||||
ecm_add_test(pluginloadtest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
|
ecm_add_test(pluginloadtest.cpp LINK_LIBRARIES ${kdeconnect_libraries})
|
||||||
ecm_add_test(sendfiletest.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()
|
||||||
|
|
Loading…
Reference in a new issue