191492b3ca
KDNSSD only works with Avahi (so, only on Linux) while mdns.h is a header-only library [1] that implements mdns from scratch and should work on all platforms. [1] https://github.com/mjansson/mdns
22 lines
495 B
CMake
22 lines
495 B
CMake
|
|
set(backends_kdeconnect_SRCS
|
|
${backends_kdeconnect_SRCS}
|
|
backends/lan/server.cpp
|
|
backends/lan/lanlinkprovider.cpp
|
|
backends/lan/landevicelink.cpp
|
|
backends/lan/compositeuploadjob.cpp
|
|
backends/lan/uploadjob.cpp
|
|
)
|
|
|
|
if (MDNS_ENABLED)
|
|
set(backends_kdeconnect_SRCS
|
|
${backends_kdeconnect_SRCS}
|
|
backends/lan/mdnsdiscovery.cpp
|
|
backends/lan/mdns_wrapper.cpp
|
|
)
|
|
endif()
|
|
|
|
set(backends_kdeconnect_SRCS
|
|
${backends_kdeconnect_SRCS}
|
|
PARENT_SCOPE
|
|
)
|