diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-13 19:34:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-13 19:34:17 (GMT) |
commit | f12ea8bd324a93d7c31dafecdd30e0aef24525e3 (patch) | |
tree | 638aabd41df8a8e27a029393d77a27517be1ec27 /Source | |
parent | 7634b36364d94ccce5575e6a67c3c8cd92750b44 (diff) | |
download | CMake-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')
-rw-r--r-- | Source/cmake.cxx | 4 |
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() |