From: Mahavir Jain Date: Wed, 31 Jul 2019 10:51:25 +0000 (+0530) Subject: coap: add mbedtls in depedency list for CMake build X-Git-Tag: v4.1-dev~24^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=852c176a408b18e8f4bf2e5af3adb742af5a5a42;p=esp-idf coap: add mbedtls in depedency list for CMake build --- diff --git a/components/coap/CMakeLists.txt b/components/coap/CMakeLists.txt index 6d7dbb4517..3b2da20ce8 100644 --- a/components/coap/CMakeLists.txt +++ b/components/coap/CMakeLists.txt @@ -21,11 +21,9 @@ set(srcs "libcoap/src/coap_io.c" "port/coap_mbedtls.c") -set(COMPONENT_REQUIRES lwip) - idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "${include_dirs}" - REQUIRES lwip) + REQUIRES lwip mbedtls) # Silence format truncation warning, until it is fixed upstream set_source_files_properties(port/coap_debug.c PROPERTIES COMPILE_FLAGS -Wno-format-truncation)