diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index 436d590ff..f479ccd5e 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -49,7 +49,7 @@ bool cmFindProgramCommand::InitialPass(std::vector const& argsIn) return true; } std::string result = cmSystemTools::FindProgram(this->Names, - this->SearchPaths); + this->SearchPaths, true); if(result != "") { // Save the value in the cache