| 2856 | } |
| 2857 | |
| 2858 | void cmFindPackageCommand::FillPrefixesUserHints() |
| 2859 | { |
| 2860 | cmSearchPath& paths = this->LabeledPaths[PathLabel::Hints]; |
| 2861 | |
| 2862 | for (std::string const& p : this->UserHintsArgs) { |
| 2863 | paths.AddUserPath(p); |
| 2864 | } |
| 2865 | if (this->DebugModeEnabled()) { |
| 2866 | std::string debugBuffer = |
| 2867 | "Paths specified by the find_package HINTS option.\n"; |
| 2868 | collectPathsForDebug(debugBuffer, paths); |
| 2869 | this->DebugBuffer = cmStrCat(this->DebugBuffer, debugBuffer); |
| 2870 | } |
| 2871 | } |
| 2872 | |
| 2873 | bool cmFindPackageCommand::SearchDirectory(std::string const& dir, |
| 2874 | PackageDescriptionType type) |
no test coverage detected