Skip to content

Fix linking and usage requirements through same-name imported targets

Brad King requested to merge brad.king/cmake:imported-same-name into master

If two imported targets in different directories have the same name we should still be able to propagate transitive usage requirements and link dependencies from both. Fix the infrastructure to work with target pointers instead of target names since the pointers will not be duplicated even if the names are.

Fixes: #18345 (closed)

Merge request reports