Browse Source

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

Sam Edwards 12 years ago
parent
commit
e150492355
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/macros/Interrogate.cmake

+ 1 - 1
cmake/macros/Interrogate.cmake

@@ -219,7 +219,7 @@ function(add_python_module module)
       add_library(${target}_igate ${target}_igate.cxx)
       add_library(${target}_igate ${target}_igate.cxx)
       list(APPEND HACKlinklibs "${target}_igate")
       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})
       target_link_libraries(${target}_igate ${target_links})
     endforeach(target)
     endforeach(target)