diff options
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index 8782fc3..0667d71 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -125,11 +125,11 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn) cmSystemTools::GlobDirs(exp.c_str(), path); } } - for(std::vector<std::string>::iterator i = names.begin(); - i != names.end() ; ++i) + for(std::vector<std::string>::iterator it = names.begin(); + it != names.end() ; ++it) { // Try to find the program. - std::string result = cmSystemTools::FindProgram(i->c_str(), + std::string result = cmSystemTools::FindProgram(it->c_str(), path, no_system_path); if(result != "") |