summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-03-22 16:33:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-03-22 16:33:46 (GMT)
commit213040b612c56e6e833d8a239b79c50051363ef8 (patch)
tree7dd7287b91bbfff7213720be343c01053a5140f8
parent6baf2119caaec5e44d75a9d4ab2ad61234c8f56c (diff)
downloadCMake-213040b612c56e6e833d8a239b79c50051363ef8.zip
CMake-213040b612c56e6e833d8a239b79c50051363ef8.tar.gz
CMake-213040b612c56e6e833d8a239b79c50051363ef8.tar.bz2
ENH: make sure project map is cleared each time.
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1382e88..94d0fc7 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -818,7 +818,8 @@ const char* cmGlobalGenerator::GetLinkerPreference(const char* lang)
void cmGlobalGenerator::FillProjectMap()
-{
+{
+ m_ProjectMap.clear(); // make sure we start with a clean map
unsigned int i;
for(i = 0; i < m_LocalGenerators.size(); ++i)
{