diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-04-24 16:30:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-04-24 16:30:25 (GMT) |
commit | 32aecc84a1f469d257600ec2ee241c05507d3498 (patch) | |
tree | 2806c403cc68bd25fcfd261b950b28ffad433382 /Source | |
parent | 04448b9e03a0d1b5a35024acd3069dbac5f92f81 (diff) | |
download | CMake-32aecc84a1f469d257600ec2ee241c05507d3498.zip CMake-32aecc84a1f469d257600ec2ee241c05507d3498.tar.gz CMake-32aecc84a1f469d257600ec2ee241c05507d3498.tar.bz2 |
ENH: fix seg fault in ccmake when hitting configure twice
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 0d9cad3..a0e66d3 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -623,9 +623,11 @@ void cmGlobalGenerator::Configure() delete this->LocalGenerators[i]; } this->LocalGenerators.clear(); - + this->TargetDependencies.clear(); this->TotalTargets.clear(); - + this->ProjectToTargetMap.clear(); + this->ProjectMap.clear(); + // start with this directory cmLocalGenerator *lg = this->CreateLocalGenerator(); this->LocalGenerators.push_back(lg); |