diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-14 21:10:22 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-14 21:10:22 (GMT) |
commit | 056b44113f86a79ea9d68548005292a9d48d45f8 (patch) | |
tree | 0affa1a500d7054fb31608d00f478319b46e2d72 /Source/cmMakefile.cxx | |
parent | 980e048a7d5356a881dbaaf25b1595091fe5cb8b (diff) | |
download | CMake-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.cxx | 1 |
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); |