Skip to content

file(GET_RUNTIME_DEPENDENCIES): propagate transitive parent's rpath

Alex Lapenkou requested to merge Lapenkov/cmake:FixGetRuntimeDeps into master

This fixes incorrect runtime dependency resolution when the dependency is located in rpaths of a transitive parent. Instead of supplying only the rpaths of the immediate parent, it combines the rpaths of all transitive parents and passes them down.

Fixes: #24172 (closed)
Topic-rename: file-GET_RUNTIME_DEPENDENCIES-transitive-rpath

Edited by Brad King

Merge request reports