From 89c25443a62de7a06fc0daa9f552a70aa9692aa0 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 3 Jan 2011 08:47:04 -0500 Subject: Checking for a definition is a usage --- Source/cmMakefile.cxx | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v0.12