Adjust build systems

Adjust build systems such as we can built
Mbed TLS in the default and full configuration.

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2024-07-10 08:10:40 +02:00
parent 1606cff72c
commit aef8cf3b2e
7 changed files with 23 additions and 19 deletions
+3 -3
View File
@@ -326,9 +326,9 @@ endif(USE_SHARED_MBEDTLS_LIBRARY)
foreach(target IN LISTS target_libraries)
add_library(MbedTLS::${target} ALIAS ${target}) # add_subdirectory support
# Include public header files from /include, tf-psa-crypto/include/ and
# /tf-psa-crypto/drivers/builtin/include/. Include private header files
# from /library.
# Include public header files from /include, /tf-psa-crypto/include/ and
# tf-psa-crypto/drivers/builtin/include/. Include private header files
# from /library, tf-psa-crypto/core/ and tf-psa-crypto/drivers/builtin/src/.
target_include_directories(${target}
PUBLIC $<BUILD_INTERFACE:${MBEDTLS_DIR}/include/>
$<BUILD_INTERFACE:${MBEDTLS_DIR}/tf-psa-crypto/include/>