mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03: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:
@@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user