summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index c758438..f5d995a 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -301,8 +301,8 @@ void cmGlobalGenerator::Configure()
{
if(cmSystemTools::IsNOTFOUND(lib->first.c_str()))
{
- std::string not = lib->first.substr(0, lib->first.size()-9);
- notFoundMap.insert(not);
+ std::string varName = lib->first.substr(0, lib->first.size()-9);
+ notFoundMap.insert(varName);
}
}
std::vector<std::string>& incs =
@@ -313,8 +313,8 @@ void cmGlobalGenerator::Configure()
{
if(cmSystemTools::IsNOTFOUND(lib->c_str()))
{
- std::string not = lib->substr(0, lib->size()-9);
- notFoundMap.insert(not);
+ std::string varName = lib->substr(0, lib->size()-9);
+ notFoundMap.insert(varName);
}
}
m_CMakeInstance->UpdateProgress("Configuring",