瀏覽代碼

Remove unused variables from cmFindPackageCommand

Robert Maynard 6 年之前
父節點
當前提交
96b10e47be
共有 1 個文件被更改,包括 0 次插入6 次删除
  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);