mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
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 <ronald.cron@arm.com>
This commit is contained in:
parent
7d8661618b
commit
00890e3d10
@ -6,7 +6,7 @@ set(executables
|
|||||||
|
|
||||||
foreach(exe IN LISTS executables)
|
foreach(exe IN LISTS executables)
|
||||||
add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
|
add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
|
||||||
target_link_libraries(${exe} mbedtls)
|
target_link_libraries(${exe} mbedcrypto)
|
||||||
target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include)
|
target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user