summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-04-24 16:30:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-04-24 16:30:25 (GMT)
commit32aecc84a1f469d257600ec2ee241c05507d3498 (patch)
tree2806c403cc68bd25fcfd261b950b28ffad433382 /Source
parent04448b9e03a0d1b5a35024acd3069dbac5f92f81 (diff)
downloadCMake-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.cxx6
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);