summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-14 21:10:22 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-14 21:10:22 (GMT)
commit056b44113f86a79ea9d68548005292a9d48d45f8 (patch)
tree0affa1a500d7054fb31608d00f478319b46e2d72 /Source/cmMakefile.cxx
parent980e048a7d5356a881dbaaf25b1595091fe5cb8b (diff)
downloadCMake-056b44113f86a79ea9d68548005292a9d48d45f8.zip
CMake-056b44113f86a79ea9d68548005292a9d48d45f8.tar.gz
CMake-056b44113f86a79ea9d68548005292a9d48d45f8.tar.bz2
Fix missing case for usage of a variable
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c174bd6..f6c8c73 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1649,6 +1649,7 @@ void cmMakefile::AddDefinition(const char* name, const char* value)
#endif
this->Internal->VarStack.top().Set(name, value);
+ this->Internal->VarInitStack.top().insert(name);
if (this->Internal->VarUsageStack.size() > 1)
{
this->CheckForUnused("changing definition", name);