From 2ce1e016257a0193d6245933fb5b95cb6eb485f1 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Mon, 4 Dec 2023 11:05:26 -0500 Subject: [PATCH] Add missing mbedtls include. Signed-off-by: James Goppert --- port/platform/zephyr/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/port/platform/zephyr/CMakeLists.txt b/port/platform/zephyr/CMakeLists.txt index 1814dba7..b5824749 100644 --- a/port/platform/zephyr/CMakeLists.txt +++ b/port/platform/zephyr/CMakeLists.txt @@ -130,6 +130,11 @@ if (CONFIG_UBXLIB_TEST) endif() endif() +if (EXISTS "${ZEPHYR_BASE}/../modules/crypto/mbedtls/include") + zephyr_include_directories( + ${ZEPHYR_BASE}/../modules/crypto/mbedtls/include) +endif() + if (CONFIG_MINIMAL_LIBC) target_sources(ubxlib PRIVATE ${UBXLIB_BASE}/port/clib/u_port_clib_isblank.c