| 541 | } |
| 542 | |
| 543 | std::string cmFindLibraryCommand::FindNormalLibraryNamesPerDir() |
| 544 | { |
| 545 | // Search for all names in each directory. |
| 546 | cmFindLibraryHelper helper(this->Makefile, this, this->DebugState.get()); |
| 547 | for (std::string const& n : this->Names) { |
| 548 | helper.AddName(n); |
| 549 | } |
| 550 | // Search every directory. |
| 551 | for (std::string const& sp : this->SearchPaths) { |
| 552 | if (helper.CheckDirectory(sp)) { |
| 553 | return helper.BestPath; |
| 554 | } |
| 555 | } |
| 556 | // Couldn't find the library. |
| 557 | return ""; |
| 558 | } |
| 559 | |
| 560 | std::string cmFindLibraryCommand::FindNormalLibraryDirsPerName() |
| 561 | { |
no test coverage detected