| 353 | } |
| 354 | |
| 355 | void cmFindBase::FillSystemEnvironmentPath() |
| 356 | { |
| 357 | cmSearchPath& paths = this->LabeledPaths[PathLabel::SystemEnvironment]; |
| 358 | |
| 359 | // Add LIB or INCLUDE |
| 360 | if (!this->EnvironmentPath.empty()) { |
| 361 | paths.AddEnvPath(this->EnvironmentPath); |
| 362 | } |
| 363 | // Add PATH |
| 364 | paths.AddEnvPath("PATH"); |
| 365 | paths.AddSuffixes(this->SearchPathSuffixes); |
| 366 | } |
| 367 | |
| 368 | namespace { |
| 369 | struct entry_to_remove |
no test coverage detected