summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{