ENH: make sure system path is not added unless asked for
This commit is contained in:
parent
6dd39ceaa0
commit
e97157feb1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user