| 321 | } |
| 322 | |
| 323 | void cmFindBase::FillPackageRootPath() |
| 324 | { |
| 325 | cmSearchPath& paths = this->LabeledPaths[PathLabel::PackageRoot]; |
| 326 | |
| 327 | // Add the PACKAGE_ROOT_PATH from each enclosing find_package call. |
| 328 | for (std::vector<std::string> const& pkgPaths : |
| 329 | cmReverseRange(this->Makefile->FindPackageRootPathStack)) { |
| 330 | paths.AddPrefixPaths(pkgPaths); |
| 331 | } |
| 332 | |
| 333 | paths.AddSuffixes(this->SearchPathSuffixes); |
| 334 | } |
| 335 | |
| 336 | void cmFindBase::FillCMakeVariablePath() |
| 337 | { |
no test coverage detected