| 578 | } |
| 579 | |
| 580 | void cmFindPackageCommand::InheritOptions(cmFindPackageCommand* other) |
| 581 | { |
| 582 | this->RequiredCMakeVersion = other->RequiredCMakeVersion; |
| 583 | this->LibraryArchitecture = other->LibraryArchitecture; |
| 584 | this->UseLib32Paths = other->UseLib32Paths; |
| 585 | this->UseLib64Paths = other->UseLib64Paths; |
| 586 | this->UseLibx32Paths = other->UseLibx32Paths; |
| 587 | this->NoUserRegistry = other->NoUserRegistry; |
| 588 | this->NoSystemRegistry = other->NoSystemRegistry; |
| 589 | this->UseRealPath = other->UseRealPath; |
| 590 | this->SortOrder = other->SortOrder; |
| 591 | this->SortDirection = other->SortDirection; |
| 592 | |
| 593 | this->GlobalScope = other->GlobalScope; |
| 594 | this->RegistryView = other->RegistryView; |
| 595 | this->NoDefaultPath = other->NoDefaultPath; |
| 596 | this->NoPackageRootPath = other->NoPackageRootPath; |
| 597 | this->NoCMakePath = other->NoCMakePath; |
| 598 | this->NoCMakeEnvironmentPath = other->NoCMakeEnvironmentPath; |
| 599 | this->NoSystemEnvironmentPath = other->NoSystemEnvironmentPath; |
| 600 | this->NoCMakeSystemPath = other->NoCMakeSystemPath; |
| 601 | this->NoCMakeInstallPath = other->NoCMakeInstallPath; |
| 602 | this->FindRootPathMode = other->FindRootPathMode; |
| 603 | |
| 604 | this->SearchFrameworkLast = other->SearchFrameworkLast; |
| 605 | this->SearchFrameworkFirst = other->SearchFrameworkFirst; |
| 606 | this->SearchFrameworkOnly = other->SearchFrameworkOnly; |
| 607 | this->SearchAppBundleLast = other->SearchAppBundleLast; |
| 608 | this->SearchAppBundleFirst = other->SearchAppBundleFirst; |
| 609 | this->SearchAppBundleOnly = other->SearchAppBundleOnly; |
| 610 | this->SearchPathSuffixes = other->SearchPathSuffixes; |
| 611 | |
| 612 | this->Quiet = other->Quiet; |
| 613 | } |
| 614 | |
| 615 | bool cmFindPackageCommand::IsFound() const |
| 616 | { |
no outgoing calls
no test coverage detected