1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 12:53:55 +08:00

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

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
{