Use the API so that warnings can be tracked

This commit is contained in:
Ben Boeckel 2010-09-16 16:06:16 -04:00
parent 05cb0f4daf
commit bef3aeebab
1 changed files with 1 additions and 1 deletions

View File

@ -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
{