From e97157feb13e4e2a5719adb8eda2d68e2535d00f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 8 Mar 2006 18:16:01 -0500 Subject: [PATCH] ENH: make sure system path is not added unless asked for --- Source/cmFindProgramCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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