| 180 | } |
| 181 | |
| 182 | std::string cmFindLibraryCommand::FindLibrary() |
| 183 | { |
| 184 | std::string library; |
| 185 | if (this->SearchFrameworkFirst || this->SearchFrameworkOnly) { |
| 186 | library = this->FindFrameworkLibrary(); |
| 187 | } |
| 188 | if (library.empty() && !this->SearchFrameworkOnly) { |
| 189 | library = this->FindNormalLibrary(); |
| 190 | } |
| 191 | if (library.empty() && this->SearchFrameworkLast) { |
| 192 | library = this->FindFrameworkLibrary(); |
| 193 | } |
| 194 | return library; |
| 195 | } |
| 196 | |
| 197 | struct cmFindLibraryHelper |
| 198 | { |
no test coverage detected