Sfoglia il codice sorgente

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

Sam Edwards 12 anni fa
parent
commit
e150492355
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
       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)