| 2430 | } |
| 2431 | |
| 2432 | void cmFindPackageCommand::ComputePrefixes() |
| 2433 | { |
| 2434 | this->FillPrefixesPackageRedirect(); |
| 2435 | |
| 2436 | if (!this->NoDefaultPath) { |
| 2437 | if (!this->NoPackageRootPath) { |
| 2438 | this->FillPrefixesPackageRoot(); |
| 2439 | } |
| 2440 | if (!this->NoCMakePath) { |
| 2441 | this->FillPrefixesCMakeVariable(); |
| 2442 | } |
| 2443 | if (!this->NoCMakeEnvironmentPath) { |
| 2444 | this->FillPrefixesCMakeEnvironment(); |
| 2445 | } |
| 2446 | } |
| 2447 | |
| 2448 | this->FillPrefixesUserHints(); |
| 2449 | |
| 2450 | if (!this->NoDefaultPath) { |
| 2451 | if (!this->NoSystemEnvironmentPath) { |
| 2452 | this->FillPrefixesSystemEnvironment(); |
| 2453 | } |
| 2454 | if (!this->NoUserRegistry) { |
| 2455 | this->FillPrefixesUserRegistry(); |
| 2456 | } |
| 2457 | if (!this->NoCMakeSystemPath) { |
| 2458 | this->FillPrefixesCMakeSystemVariable(); |
| 2459 | } |
| 2460 | if (!this->NoSystemRegistry) { |
| 2461 | this->FillPrefixesSystemRegistry(); |
| 2462 | } |
| 2463 | } |
| 2464 | this->FillPrefixesUserGuess(); |
| 2465 | |
| 2466 | this->ComputeFinalPaths(IgnorePaths::No, &this->DebugBuffer); |
| 2467 | } |
| 2468 | |
| 2469 | void cmFindPackageCommand::FillPrefixesPackageRedirect() |
| 2470 | { |
no test coverage detected