| 558 | } |
| 559 | |
| 560 | std::string cmFindLibraryCommand::FindNormalLibraryDirsPerName() |
| 561 | { |
| 562 | // Search the entire path for each name. |
| 563 | cmFindLibraryHelper helper(this->Makefile, this, this->DebugState.get()); |
| 564 | for (std::string const& n : this->Names) { |
| 565 | // Switch to searching for this name. |
| 566 | helper.SetName(n); |
| 567 | |
| 568 | // Search every directory. |
| 569 | for (std::string const& sp : this->SearchPaths) { |
| 570 | if (helper.CheckDirectory(sp)) { |
| 571 | return helper.BestPath; |
| 572 | } |
| 573 | } |
| 574 | } |
| 575 | // Couldn't find the library. |
| 576 | return ""; |
| 577 | } |
| 578 | |
| 579 | std::string cmFindLibraryCommand::FindFrameworkLibrary() |
| 580 | { |
no test coverage detected