From 00890e3d10535077eb5e8b5b143e9f7c47d1086c Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 23 Jun 2020 16:44:41 +0200 Subject: [PATCH] programs: psa: Link against mbedcrypto not mbedtls All programs in programs/psa are crypto only thus just link against mbedcrypto instead of mbedtls. Signed-off-by: Ronald Cron --- programs/psa/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/psa/CMakeLists.txt b/programs/psa/CMakeLists.txt index 6ad6dadc4e..e519696b10 100644 --- a/programs/psa/CMakeLists.txt +++ b/programs/psa/CMakeLists.txt @@ -6,7 +6,7 @@ set(executables foreach(exe IN LISTS executables) add_executable(${exe} ${exe}.c $) - target_link_libraries(${exe} mbedtls) + target_link_libraries(${exe} mbedcrypto) target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include) endforeach()