| 85 | } |
| 86 | |
| 87 | void cmFindLibraryCommand::AddArchitecturePaths(char const* suffix) |
| 88 | { |
| 89 | std::vector<std::string> original; |
| 90 | original.swap(this->SearchPaths); |
| 91 | for (std::string const& o : original) { |
| 92 | this->AddArchitecturePath(o, 0, suffix); |
| 93 | if (this->DebugModeEnabled()) { |
| 94 | std::string msg = cmStrCat( |
| 95 | "find_library(", this->VariableName, ") removed original suffix ", o, |
| 96 | " from PATH_SUFFIXES while adding architecture paths for suffix '", |
| 97 | suffix, '\''); |
| 98 | this->DebugMessage(msg); |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | static bool cmLibDirsLinked(std::string const& l, std::string const& r) |
| 104 | { |
no test coverage detected