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;
|
return true;
|
||||||
}
|
}
|
||||||
std::string result = cmSystemTools::FindProgram(this->Names,
|
std::string result = cmSystemTools::FindProgram(this->Names,
|
||||||
this->SearchPaths);
|
this->SearchPaths, true);
|
||||||
if(result != "")
|
if(result != "")
|
||||||
{
|
{
|
||||||
// Save the value in the cache
|
// Save the value in the cache
|
||||||
|
|
Loading…
Reference in New Issue