Correctly link shared crypto_dev library

This commit is contained in:
2020-02-27 15:57:31 -05:00
parent a5d1121675
commit 8cca9a2930
2 changed files with 21 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ foreach(NAME ${PL_NAMES})
endforeach(NAME)
add_library(crypto_dev ../crypto/aes_sw_impl.c)
target_compile_definitions(crypto_dev PRIVATE CRYPTO_DEV)
target_link_libraries(payload_aes_sw_bern crypto_dev)
target_link_libraries(payload_aes_sw_corr crypto_dev)