commit | 8dc0af2d4bbca3e09ad5ce5303a7fbe206cf5d1d | [log] [tgz] |
---|---|---|
author | Ronald Cron <ronald.cron@arm.com> | Fri Jun 05 16:00:22 2020 +0200 |
committer | Ronald Cron <ronald.cron@arm.com> | Fri Jun 26 10:45:16 2020 +0200 |
tree | f0cc7221b1264f7392646fe9621e2038e4535d7e | |
parent | ddaf99c9d4f6d2db4814459c09860a343b09e189 [diff] |
programs: Link to tests common code Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/programs/aes/CMakeLists.txt b/programs/aes/CMakeLists.txt index 761531d..2309789 100644 --- a/programs/aes/CMakeLists.txt +++ b/programs/aes/CMakeLists.txt
@@ -4,7 +4,7 @@ ) foreach(exe IN LISTS executables) - add_executable(${exe} ${exe}.c) + add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>) target_link_libraries(${exe} mbedcrypto) endforeach()