cmGeneratorTarget: Skip computing languages for custom targets

Targets created by `add_custom_target` do not compile any sources
and therefore have no languages.
1 file changed