| 1990 | } |
| 1991 | |
| 1992 | void cmFindPackageCommand::SetConfigDirCacheVariable(std::string const& value) |
| 1993 | { |
| 1994 | std::string const help = |
| 1995 | cmStrCat("The directory containing a CMake configuration file for ", |
| 1996 | this->Name, '.'); |
| 1997 | this->Makefile->AddCacheDefinition(this->Variable, value, help, |
| 1998 | cmStateEnums::PATH, true); |
| 1999 | if (this->Makefile->GetPolicyStatus(cmPolicies::CMP0126) == |
| 2000 | cmPolicies::NEW && |
| 2001 | this->Makefile->IsNormalDefinitionSet(this->Variable)) { |
| 2002 | this->Makefile->AddDefinition(this->Variable, value); |
| 2003 | } |
| 2004 | } |
| 2005 | |
| 2006 | bool cmFindPackageCommand::FindPrefixedConfig() |
| 2007 | { |
no test coverage detected