mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 08:40:11 -06:00
ENH: make sure system path is not added unless asked for
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user