From e150492355dc6f4aa7b2a006a9ddf4be3d8f2042 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sat, 1 Feb 2014 14:24:22 -0700 Subject: [PATCH] CMake: Use LINK_LIBRARIES instead of INTERFACE_LINK_LIBRARIES in Interrogate macro, for compatibility with CMake < 2.8.12. --- cmake/macros/Interrogate.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/Interrogate.cmake b/cmake/macros/Interrogate.cmake index a74a20079d..486fdb0f84 100644 --- a/cmake/macros/Interrogate.cmake +++ b/cmake/macros/Interrogate.cmake @@ -219,7 +219,7 @@ function(add_python_module module) add_library(${target}_igate ${target}_igate.cxx) list(APPEND HACKlinklibs "${target}_igate") - get_target_property(target_links "${target}" INTERFACE_LINK_LIBRARIES) + get_target_property(target_links "${target}" LINK_LIBRARIES) target_link_libraries(${target}_igate ${target_links}) endforeach(target)