ENH: make sure system path is not added unless asked for

This commit is contained in:
Bill Hoffman 2006-03-08 18:16:01 -05:00
parent 6dd39ceaa0
commit e97157feb1
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn)
return true;
}
std::string result = cmSystemTools::FindProgram(this->Names,
this->SearchPaths);
this->SearchPaths, true);
if(result != "")
{
// Save the value in the cache