Merge topic 'remove_unneeded_variables_from_cmFindPackageCommand'
96b10e47be
Remove unused variables from cmFindPackageCommand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3488
This commit is contained in:
commit
fccc59c38c
@ -732,12 +732,6 @@ bool cmFindPackageCommand::HandlePackageMode(
|
|||||||
{
|
{
|
||||||
this->ConsideredConfigs.clear();
|
this->ConsideredConfigs.clear();
|
||||||
|
|
||||||
// Support old capitalization behavior.
|
|
||||||
std::string upperDir = cmSystemTools::UpperCase(this->Name);
|
|
||||||
std::string upperFound = cmSystemTools::UpperCase(this->Name);
|
|
||||||
upperDir += "_DIR";
|
|
||||||
upperFound += "_FOUND";
|
|
||||||
|
|
||||||
// Try to find the config file.
|
// Try to find the config file.
|
||||||
const char* def = this->Makefile->GetDefinition(this->Variable);
|
const char* def = this->Makefile->GetDefinition(this->Variable);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user