diff options
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/cipher/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/crypto/mac/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/crypto/cipher/CMakeLists.txt b/src/crypto/cipher/CMakeLists.txt index 3c9b342..bda5cba 100644 --- a/src/crypto/cipher/CMakeLists.txt +++ b/src/crypto/cipher/CMakeLists.txt @@ -59,7 +59,9 @@ foreach(cipher ${CIPHERS}) endforeach(impl) set(CIPHER_IMPLS "${CIPHER_IMPLS}NULL};") - endforeach(cipher) +get_property(LIBS TARGET ciphers PROPERTY FASTD_LINK_LIBRARIES) +target_link_libraries(ciphers ${LIBS}) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ciphers.c.in ${CMAKE_CURRENT_BINARY_DIR}/ciphers.c) diff --git a/src/crypto/mac/CMakeLists.txt b/src/crypto/mac/CMakeLists.txt index fe13ace..ca3b71d 100644 --- a/src/crypto/mac/CMakeLists.txt +++ b/src/crypto/mac/CMakeLists.txt @@ -58,7 +58,9 @@ foreach(mac ${MACS}) endforeach(impl) set(MAC_IMPLS "${MAC_IMPLS}NULL};") - endforeach(mac) +get_property(LIBS TARGET macs PROPERTY FASTD_LINK_LIBRARIES) +target_link_libraries(macs ${LIBS}) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/macs.c.in ${CMAKE_CURRENT_BINARY_DIR}/macs.c) |