mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 05:54:54 -04:00
CMake: Use LINK_LIBRARIES instead of INTERFACE_LINK_LIBRARIES in Interrogate macro, for compatibility with CMake < 2.8.12.
This commit is contained in:
parent
e3cee4f5cd
commit
e150492355
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user