diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2011-01-03 13:47:04 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2011-01-03 13:47:04 (GMT) |
commit | 89c25443a62de7a06fc0daa9f552a70aa9692aa0 (patch) | |
tree | f5c910784b4864104d6d0a3ed2128ee7874a4a1a /Source | |
parent | 5625dee390fc0c35755683b7302e49967107bbf0 (diff) | |
download | CMake-89c25443a62de7a06fc0daa9f552a70aa9692aa0.zip CMake-89c25443a62de7a06fc0daa9f552a70aa9692aa0.tar.gz CMake-89c25443a62de7a06fc0daa9f552a70aa9692aa0.tar.bz2 |
Checking for a definition is a usage
Diffstat (limited to 'Source')
-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 0913e0a..7044049 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2176,6 +2176,7 @@ const char* cmMakefile::GetRequiredDefinition(const char* name) const bool cmMakefile::IsDefinitionSet(const char* name) const { const char* def = this->Internal->VarStack.top().Get(name); + this->Internal->VarUsageStack.top().insert(name); if(!def) { def = this->GetCacheManager()->GetCacheValue(name); |