diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-07 18:09:32 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-07 18:09:32 +0100 |
commit | 2fb08c6455bf6f08209b5993c755c1135611813b (patch) | |
tree | f604b15b0d84cafb37684cacad4dd4d74ab2d8c6 /src/crypto/mac | |
parent | d971fce38b72c935b58e149ab1f8eb92202e76db (diff) | |
download | fastd-2fb08c6455bf6f08209b5993c755c1135611813b.tar fastd-2fb08c6455bf6f08209b5993c755c1135611813b.zip |
CMake: add LINK_LIBRARIES workaround for old CMake versions
Diffstat (limited to 'src/crypto/mac')
-rw-r--r-- | src/crypto/mac/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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) |