From 2fb08c6455bf6f08209b5993c755c1135611813b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 7 Nov 2013 18:09:32 +0100 Subject: CMake: add LINK_LIBRARIES workaround for old CMake versions --- src/methods/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/methods') diff --git a/src/methods/CMakeLists.txt b/src/methods/CMakeLists.txt index 3d1e2e2..e515b32 100644 --- a/src/methods/CMakeLists.txt +++ b/src/methods/CMakeLists.txt @@ -38,4 +38,7 @@ foreach(method ${METHODS}) set(METHOD_LIST "${METHOD_LIST}\n&fastd_method_${method_},") endforeach(method) +get_property(LIBS TARGET methods PROPERTY FASTD_LINK_LIBRARIES) +target_link_libraries(methods ${LIBS}) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/methods.c.in ${CMAKE_CURRENT_BINARY_DIR}/methods.c) -- cgit v1.2.3