Sfoglia il codice sorgente

Remove unused variables from cmFindPackageCommand

Robert Maynard 6 anni fa
parent
commit
96b10e47be
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  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);