diff options
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index cf4abdd..a1f42cf 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -860,7 +860,10 @@ void cmGlobalGenerator::Generate() // Compute the inter-target dependencies. { cmComputeTargetDepends ctd(this); - ctd.Compute(); + if(!ctd.Compute()) + { + return; + } std::vector<cmTarget*> const& targets = ctd.GetTargets(); for(std::vector<cmTarget*>::const_iterator ti = targets.begin(); ti != targets.end(); ++ti) |