zephyr/subsys/net/lib/dns/CMakeLists.txt
Christopher Friedt e7e58439e7 net: dns: dns-sd: support dns service discovery
This change adds support for DNS Service Discovery (DNS-SD)
as described in RFC 6763.

Fixes #29099

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2020-11-09 16:15:02 -08:00

20 lines
528 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(.)
zephyr_library()
zephyr_library_sources(dns_pack.c)
zephyr_library_sources_ifdef(CONFIG_DNS_RESOLVER resolve.c)
zephyr_library_sources_ifdef(CONFIG_DNS_SD dns_sd.c)
if(CONFIG_MDNS_RESPONDER)
zephyr_library_sources(mdns_responder.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
endif()
if(CONFIG_LLMNR_RESPONDER)
zephyr_library_sources(llmnr_responder.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
endif()