Skip to content

Fix rpath-link for shared lib with only private deps

Brad King requested to merge brad.king/cmake:shared-deps-no-iface into master

Under CMP0022 NEW behavior, the link interface is explicit even if there are no public dependencies (INTERFACE_LINK_LIBRARIES is not set). Mark it as such to activate our tracking of private runtime dependencies of shared libraries for generation of -rpath-link flags.

Fixes: #19556 (closed)

Merge request reports