summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 18:09:32 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 18:09:32 +0100
commit2fb08c6455bf6f08209b5993c755c1135611813b (patch)
treef604b15b0d84cafb37684cacad4dd4d74ab2d8c6 /src/crypto/cipher
parentd971fce38b72c935b58e149ab1f8eb92202e76db (diff)
downloadfastd-2fb08c6455bf6f08209b5993c755c1135611813b.tar
fastd-2fb08c6455bf6f08209b5993c755c1135611813b.zip
CMake: add LINK_LIBRARIES workaround for old CMake versions
Diffstat (limited to 'src/crypto/cipher')
-rw-r--r--src/crypto/cipher/CMakeLists.txt4
1 files changed, 3 insertions, 1 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)