cmGeneratorTarget: Skip computing link implementation for custom targets

Targets created by `add_custom_target` cannot be used with
`target_link_libraries` and so have no link implementation.
1 file changed