diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-10 16:12:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-10 16:12:53 (GMT) |
commit | e0be3c71257164b58ce5ae1a0399b1d5b7f2441a (patch) | |
tree | d743f9fdeb7f20d3123a26e576be4f16d7335bb4 /Source | |
parent | d633bac7bcc3e072c9337d5eddb473f51a9d6d33 (diff) | |
download | CMake-e0be3c71257164b58ce5ae1a0399b1d5b7f2441a.zip CMake-e0be3c71257164b58ce5ae1a0399b1d5b7f2441a.tar.gz CMake-e0be3c71257164b58ce5ae1a0399b1d5b7f2441a.tar.bz2 |
ENH: avoid adding junk into paths
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmFindBase.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index 13c820e..396ee8a 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -164,18 +164,30 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn) } else if (args[j] == "NO_SYSTEM_PATH") { + doingPaths = false; + doingPathSuf = false; + doingNames = false; this->NoSystemPath = true; } else if (args[j] == "NO_CMAKE_PATH") { + doingPaths = false; + doingPathSuf = false; + doingNames = false; this->NoCMakePath = true; } else if (args[j] == "NO_CMAKE_ENVIRONMENT_PATH") { + doingPaths = false; + doingPathSuf = false; + doingNames = false; this->NoCMakeEnvironmentPath = true; } else if (args[j] == "NO_CMAKE_SYSTEM_PATH") { + doingPaths = false; + doingPathSuf = false; + doingNames = false; this->NoCMakeSystemPath = true; } else |