Browse Source

Merge topic 'remove_unneeded_variables_from_cmFindPackageCommand'

96b10e47be Remove unused variables from cmFindPackageCommand

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3488
Brad King 6 years ago
parent
commit
fccc59c38c
1 changed files with 0 additions and 6 deletions
  1. 0 6
      Source/cmFindPackageCommand.cxx

+ 0 - 6
Source/cmFindPackageCommand.cxx

@@ -732,12 +732,6 @@ bool cmFindPackageCommand::HandlePackageMode(
 {
   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.
   const char* def = this->Makefile->GetDefinition(this->Variable);