diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-16 20:06:16 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-16 20:06:16 (GMT) |
commit | bef3aeebab1a07573cde8886a7e32054bec1e850 (patch) | |
tree | 05c394ebbd78d1ee1b51aad4543eb3922538747c /Source/cmMakefile.cxx | |
parent | 05cb0f4daf6941482784eb06c549c5c63a9d895b (diff) | |
download | CMake-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.cxx | 2 |
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 { |