summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-31 19:39:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-31 19:39:49 (GMT)
commit81aee11c21cf27559e8ab90f6d99213b4c251637 (patch)
tree4bce62438f5f0bc85ec2eb55835657ae475d4a7b /Source/cmGlobalGenerator.cxx
parentf58d7df66a4cbfd171ae27eb0beaf12cf5355c08 (diff)
downloadCMake-81aee11c21cf27559e8ab90f6d99213b4c251637.zip
CMake-81aee11c21cf27559e8ab90f6d99213b4c251637.tar.gz
CMake-81aee11c21cf27559e8ab90f6d99213b4c251637.tar.bz2
ENH: add checking for NOTFOUND
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",