CMake: Use LINK_LIBRARIES instead of INTERFACE_LINK_LIBRARIES in Interrogate macro, for compatibility with CMake < 2.8.12.

This commit is contained in:
Sam Edwards 2014-02-01 14:24:22 -07:00
parent e3cee4f5cd
commit e150492355

View File

@ -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)