Skip to content

add_custom_command: Fix dependency on macOS framework target

Brad King requested to merge brad.king/cmake:depend-on-target-real-name into master

When the DEPENDS option names a logical target name, convert to the "real" path of that target rather than any of the symlink-provided alternative file names. This makes the dependencies consistent with the outputs named by link rules producing the target artifacts.

Fixes: #20264 (closed)

Merge request reports