| 170 | } |
| 171 | |
| 172 | void cmFindCommon::SelectDefaultMacMode() |
| 173 | { |
| 174 | std::string ff = this->Makefile->GetSafeDefinition("CMAKE_FIND_FRAMEWORK"); |
| 175 | if (ff == "NEVER") { |
| 176 | this->SearchFrameworkLast = false; |
| 177 | this->SearchFrameworkFirst = false; |
| 178 | this->SearchFrameworkOnly = false; |
| 179 | } else if (ff == "ONLY") { |
| 180 | this->SearchFrameworkLast = false; |
| 181 | this->SearchFrameworkFirst = false; |
| 182 | this->SearchFrameworkOnly = true; |
| 183 | } else if (ff == "FIRST") { |
| 184 | this->SearchFrameworkLast = false; |
| 185 | this->SearchFrameworkFirst = true; |
| 186 | this->SearchFrameworkOnly = false; |
| 187 | } else if (ff == "LAST") { |
| 188 | this->SearchFrameworkLast = true; |
| 189 | this->SearchFrameworkFirst = false; |
| 190 | this->SearchFrameworkOnly = false; |
| 191 | } |
| 192 | |
| 193 | std::string fab = this->Makefile->GetSafeDefinition("CMAKE_FIND_APPBUNDLE"); |
| 194 | if (fab == "NEVER") { |
| 195 | this->SearchAppBundleLast = false; |
| 196 | this->SearchAppBundleFirst = false; |
| 197 | this->SearchAppBundleOnly = false; |
| 198 | } else if (fab == "ONLY") { |
| 199 | this->SearchAppBundleLast = false; |
| 200 | this->SearchAppBundleFirst = false; |
| 201 | this->SearchAppBundleOnly = true; |
| 202 | } else if (fab == "FIRST") { |
| 203 | this->SearchAppBundleLast = false; |
| 204 | this->SearchAppBundleFirst = true; |
| 205 | this->SearchAppBundleOnly = false; |
| 206 | } else if (fab == "LAST") { |
| 207 | this->SearchAppBundleLast = true; |
| 208 | this->SearchAppBundleFirst = false; |
| 209 | this->SearchAppBundleOnly = false; |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | void cmFindCommon::SelectDefaultSearchModes() |
| 214 | { |
no outgoing calls
no test coverage detected