cmGlobalGenerator: Simplify CheckTargetsForMissingSources

Use `GetAllConfigSources` instead of collecting all configurations
ourselves.
1 file changed