diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-08 23:16:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-08 23:16:01 (GMT) |
commit | e97157feb13e4e2a5719adb8eda2d68e2535d00f (patch) | |
tree | 62093516e061a0f8db71c07b82e85d9d212759ca /Source/cmFindProgramCommand.cxx | |
parent | 6dd39ceaa083f97809247eb2127fbaf967b6c04f (diff) | |
download | CMake-e97157feb13e4e2a5719adb8eda2d68e2535d00f.zip CMake-e97157feb13e4e2a5719adb8eda2d68e2535d00f.tar.gz CMake-e97157feb13e4e2a5719adb8eda2d68e2535d00f.tar.bz2 |
ENH: make sure system path is not added unless asked for
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index 436d590..f479ccd 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -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 |