| 54 | } |
| 55 | |
| 56 | std::string cmFindPathCommand::FindHeader() |
| 57 | { |
| 58 | std::string header; |
| 59 | if (this->SearchFrameworkFirst || this->SearchFrameworkOnly) { |
| 60 | header = this->FindFrameworkHeader(); |
| 61 | } |
| 62 | if (header.empty() && !this->SearchFrameworkOnly) { |
| 63 | header = this->FindNormalHeader(); |
| 64 | } |
| 65 | if (header.empty() && this->SearchFrameworkLast) { |
| 66 | header = this->FindFrameworkHeader(); |
| 67 | } |
| 68 | |
| 69 | return header; |
| 70 | } |
| 71 | |
| 72 | std::string cmFindPathCommand::FindHeaderInFramework( |
| 73 | std::string const& file, std::string const& dir) const |
no test coverage detected