cmMakefile: Implement RaiseScope in terms of local Get method.

The cmDefinitions::Get will change behavior in follow up commits.
This commit is contained in:
Stephen Kelly 2015-04-26 16:22:52 +02:00
parent 5e35d4a67f
commit 30a021cc22
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public:
if(cmDefinitions* up = cur.GetParent())
{
// First localize the definition in the current scope.
cur.Get(var);
this->GetDefinition(var);
// Now update the definition in the parent scope.
up->Set(var, varDef);