ENH: move the clear to before things are added to the maps

This commit is contained in:
Bill Hoffman 2008-03-13 15:34:17 -04:00
parent 7634b36364
commit f12ea8bd32
1 changed files with 2 additions and 2 deletions

View File

@ -221,6 +221,8 @@ void cmake::InitializeProperties()
{
this->Properties.clear();
this->Properties.SetCMakeInstance(this);
this->AccessedProperties.clear();
this->PropertyDefinitions.clear();
// initialize properties
cmSourceFile::DefineProperties(this);
@ -228,8 +230,6 @@ void cmake::InitializeProperties()
cmMakefile::DefineProperties(this);
cmTest::DefineProperties(this);
cmake::DefineProperties(this);
this->AccessedProperties.clear();
this->PropertyDefinitions.clear();
}
void cmake::CleanupCommandsAndMacros()