aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/partitions/crypto/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'secure_fw/partitions/crypto/CMakeLists.txt')
-rw-r--r--secure_fw/partitions/crypto/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/secure_fw/partitions/crypto/CMakeLists.txt b/secure_fw/partitions/crypto/CMakeLists.txt
index a99b685905..0f59870c47 100644
--- a/secure_fw/partitions/crypto/CMakeLists.txt
+++ b/secure_fw/partitions/crypto/CMakeLists.txt
@@ -33,12 +33,22 @@ target_sources(tfm_psa_rot_partition_crypto
$<$<BOOL:${TFM_PSA_API}>:
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.c>
)
+target_sources(tfm_partitions
+ INTERFACE
+ $<$<BOOL:${TFM_PSA_API}>:
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/crypto/auto_generated/static_info_tfm_crypto.c>
+)
+# Set include directory
target_include_directories(tfm_psa_rot_partition_crypto
PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/crypto
)
+target_include_directories(tfm_partitions
+ INTERFACE
+ ${CMAKE_BINARY_DIR}/generated/secure_fw/partitions/crypto
+)
# Linking to external interfaces
target_link_libraries(tfm_psa_rot_partition_crypto