From 29b378d93fb36f2ff73f48fdc452774c05cbccce Mon Sep 17 00:00:00 2001 From: Joel Guittet Date: Wed, 22 May 2024 22:17:46 +0200 Subject: [PATCH] zephyr: link mbedTLS library if required, required for latest zephyr version --- zephyr/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 7d796bf..1ae0e29 100755 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -54,4 +54,5 @@ if(CONFIG_MENDER_MCU_CLIENT) file (STRINGS "${CMAKE_CURRENT_LIST_DIR}/../VERSION" MENDER_CLIENT_VERSION) zephyr_library_compile_definitions(-DMENDER_CLIENT_VERSION=\"${MENDER_CLIENT_VERSION}\") zephyr_library_compile_definitions(-D_POSIX_C_SOURCE=200809L) # Required for strdup and strtok_r support + zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS) endif()