Skip to content
Permalink
Browse files

net: lib: Fix missing dns subdir include

The dns directory was not included when building with
MDNS_RESONDER or LLMR_RESPONDER configs.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
  • Loading branch information...
Loic Poulain authored and jukkar committed May 24, 2019
1 parent f6665c8 commit 4f4adae27119af29a09839264cfe1ea940ff1601
Showing with 6 additions and 1 deletion.
  1. +6 −1 subsys/net/lib/CMakeLists.txt
@@ -5,12 +5,17 @@ add_subdirectory_if_kconfig(coap)
add_subdirectory_if_kconfig(lwm2m)
add_subdirectory_if_kconfig(socks)
add_subdirectory_if_kconfig(sntp)
add_subdirectory_ifdef(CONFIG_DNS_RESOLVER dns)
add_subdirectory_ifdef(CONFIG_MQTT_LIB mqtt)
add_subdirectory_ifdef(CONFIG_NET_CONFIG_SETTINGS config)
add_subdirectory_ifdef(CONFIG_NET_SOCKETS sockets)
add_subdirectory_ifdef(CONFIG_TLS_CREDENTIALS tls_credentials)

if (CONFIG_DNS_RESOLVER
OR CONFIG_MDNS_RESPONDER
OR CONFIG_LLMNR_RESPONDER)
add_subdirectory(dns)
endif()

if(CONFIG_HTTP_PARSER_URL
OR CONFIG_HTTP_PARSER)
add_subdirectory(http)

0 comments on commit 4f4adae

Please sign in to comment.
You can’t perform that action at this time.