]> granicus.if.org Git - esp-idf/commitdiff
coap: add mbedtls in depedency list for CMake build
authorMahavir Jain <mahavir@espressif.com>
Wed, 31 Jul 2019 10:51:25 +0000 (16:21 +0530)
committerMahavir Jain <mahavir@espressif.com>
Tue, 6 Aug 2019 05:07:40 +0000 (10:37 +0530)
components/coap/CMakeLists.txt

index 6d7dbb451745abdab5019b6fe9adc4f1d483ef7a..3b2da20ce86c96bdc3741bd5e81bf76f2e2d226e 100644 (file)
@@ -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)