| 2619 | } |
| 2620 | |
| 2621 | void cmFindPackageCommand::FillPrefixesSystemRegistry() |
| 2622 | { |
| 2623 | if (this->NoSystemRegistry || this->NoDefaultPath) { |
| 2624 | return; |
| 2625 | } |
| 2626 | |
| 2627 | #if defined(_WIN32) && !defined(__CYGWIN__) |
| 2628 | this->LoadPackageRegistryWinSystem(); |
| 2629 | #endif |
| 2630 | |
| 2631 | if (this->DebugModeEnabled()) { |
| 2632 | std::string debugBuffer = |
| 2633 | "CMake System Package Registry " |
| 2634 | "[CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY].\n"; |
| 2635 | collectPathsForDebug(debugBuffer, |
| 2636 | this->LabeledPaths[PathLabel::SystemRegistry]); |
| 2637 | this->DebugBuffer = cmStrCat(this->DebugBuffer, debugBuffer); |
| 2638 | } |
| 2639 | } |
| 2640 | |
| 2641 | #if defined(_WIN32) && !defined(__CYGWIN__) |
| 2642 | void cmFindPackageCommand::LoadPackageRegistryWinUser() |
no test coverage detected