summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-16 20:06:16 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-16 20:06:16 (GMT)
commitbef3aeebab1a07573cde8886a7e32054bec1e850 (patch)
tree05c394ebbd78d1ee1b51aad4543eb3922538747c /Source/cmMakefile.cxx
parent05cb0f4daf6941482784eb06c549c5c63a9d895b (diff)
downloadCMake-bef3aeebab1a07573cde8886a7e32054bec1e850.zip
CMake-bef3aeebab1a07573cde8886a7e32054bec1e850.tar.gz
CMake-bef3aeebab1a07573cde8886a7e32054bec1e850.tar.bz2
Use the API so that warnings can be tracked
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 774612a..38d8b6d 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
{