mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
coap: add mbedtls in depedency list for CMake build
This commit is contained in:
@@ -21,11 +21,9 @@ set(srcs
|
|||||||
"libcoap/src/coap_io.c"
|
"libcoap/src/coap_io.c"
|
||||||
"port/coap_mbedtls.c")
|
"port/coap_mbedtls.c")
|
||||||
|
|
||||||
set(COMPONENT_REQUIRES lwip)
|
|
||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
idf_component_register(SRCS "${srcs}"
|
||||||
INCLUDE_DIRS "${include_dirs}"
|
INCLUDE_DIRS "${include_dirs}"
|
||||||
REQUIRES lwip)
|
REQUIRES lwip mbedtls)
|
||||||
|
|
||||||
# Silence format truncation warning, until it is fixed upstream
|
# Silence format truncation warning, until it is fixed upstream
|
||||||
set_source_files_properties(port/coap_debug.c PROPERTIES COMPILE_FLAGS -Wno-format-truncation)
|
set_source_files_properties(port/coap_debug.c PROPERTIES COMPILE_FLAGS -Wno-format-truncation)
|
||||||
|
Reference in New Issue
Block a user