From 2b10b3713da9abf6f72773d19a56e9972914e0bf Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 7 Dec 2023 14:09:32 +0000 Subject: [PATCH] Remove unnecessary include directory from CMake Since psa_crypto.c does not include tests/include/test/memory.h, we do not need the tests/include include path. Signed-off-by: David Horstmann --- library/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 80a323702c..230fe15439 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -228,8 +228,7 @@ foreach(target IN LISTS target_libraries) PRIVATE ${MBEDTLS_DIR}/library/ PRIVATE ${thirdparty_inc} # Needed to include psa_crypto_driver_wrappers.h - ${CMAKE_CURRENT_BINARY_DIR} - ${MBEDTLS_DIR}/tests/include/) + ${CMAKE_CURRENT_BINARY_DIR}) target_compile_definitions(${target} PRIVATE ${thirdparty_def}) # Pass-through MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE