From bef3aeebab1a07573cde8886a7e32054bec1e850 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 16 Sep 2010 16:06:16 -0400 Subject: [PATCH] Use the API so that warnings can be tracked --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 774612a95..38d8b6d89 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -3477,7 +3477,7 @@ void cmMakefile::RaiseScope(const char *var, const char *varDef) // directory's scope was initialized by the closure of the parent // scope, so we do not need to localize the definition first. cmMakefile* parent = plg->GetMakefile(); - parent->Internal->VarStack.top().Set(var, varDef); + parent->AddDefinition(var, varDef); } else {