cmCommonTargetGenerator: return forward linked target dirs too

This will be used for module forwarding in order to support
`$<TARGET_OBJECTS>` usage in source and link libraries calls.
4 files changed