summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-13 19:34:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-13 19:34:17 (GMT)
commitf12ea8bd324a93d7c31dafecdd30e0aef24525e3 (patch)
tree638aabd41df8a8e27a029393d77a27517be1ec27 /Source/cmake.cxx
parent7634b36364d94ccce5575e6a67c3c8cd92750b44 (diff)
downloadCMake-f12ea8bd324a93d7c31dafecdd30e0aef24525e3.zip
CMake-f12ea8bd324a93d7c31dafecdd30e0aef24525e3.tar.gz
CMake-f12ea8bd324a93d7c31dafecdd30e0aef24525e3.tar.bz2
ENH: move the clear to before things are added to the maps
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 53dac02..f3c2faf 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -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()