| 115 | } |
| 116 | |
| 117 | void cmSearchPath::AddEnvPrefixPath(std::string const& variable, bool stripBin) |
| 118 | { |
| 119 | std::vector<std::string> expanded = |
| 120 | cmSystemTools::GetEnvPathNormalized(variable); |
| 121 | if (stripBin) { |
| 122 | std::transform(expanded.begin(), expanded.end(), expanded.begin(), |
| 123 | cmSearchPathStripBin); |
| 124 | } |
| 125 | this->AddPrefixPaths(expanded); |
| 126 | } |
| 127 | |
| 128 | void cmSearchPath::AddSuffixes(std::vector<std::string> const& suffixes) |
| 129 | { |
no test coverage detected