Skip to content

Commit 5aebdcb

Browse files
committed
tests: settings: tfm_psa: link app to tfm_api
tfm_api library is the one that provides the interface headers which are necessary to build the application: - psa/internal_trusted_storage.h - psa/protected_storage.h Signed-off-by: Valerio Setti <vsetti@baylibre.com>
1 parent 6f0e119 commit 5aebdcb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎tests/subsys/settings/functional/tfm_psa/CMakeLists.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ project(functional_psa)
88
target_sources(app PRIVATE settings_test_psa.c)
99

1010
add_subdirectory(../src func_test_bindir)
11+
12+
if (CONFIG_BUILD_WITH_TFM)
13+
target_link_libraries(app PRIVATE tfm_api)
14+
endif()

0 commit comments

Comments
 (0)