summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-08 23:16:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-08 23:16:01 (GMT)
commite97157feb13e4e2a5719adb8eda2d68e2535d00f (patch)
tree62093516e061a0f8db71c07b82e85d9d212759ca /Source/cmFindProgramCommand.cxx
parent6dd39ceaa083f97809247eb2127fbaf967b6c04f (diff)
downloadCMake-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.cxx2
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