mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Add CMake include path for generated header
Now that we are generating psa_crypto_driver_wrappers.h, we need to pass build/library as an include directory. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
c4243c6657
commit
b7b4f23c38
|
|
@ -323,7 +323,9 @@ foreach(target IN LISTS target_libraries)
|
||||||
target_include_directories(${target}
|
target_include_directories(${target}
|
||||||
PUBLIC $<BUILD_INTERFACE:${MBEDTLS_DIR}/include/>
|
PUBLIC $<BUILD_INTERFACE:${MBEDTLS_DIR}/include/>
|
||||||
$<INSTALL_INTERFACE:include/>
|
$<INSTALL_INTERFACE:include/>
|
||||||
PRIVATE ${MBEDTLS_DIR}/library/)
|
PRIVATE ${MBEDTLS_DIR}/library/
|
||||||
|
# Needed to include psa_crypto_driver_wrappers.h
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR})
|
||||||
# Pass-through MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE
|
# Pass-through MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE
|
||||||
if(MBEDTLS_CONFIG_FILE)
|
if(MBEDTLS_CONFIG_FILE)
|
||||||
target_compile_definitions(${target}
|
target_compile_definitions(${target}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue