summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-06-26 20:06:21 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2019-06-26 20:06:21 (GMT)
commit96b10e47bef6b78f64172d39b40b0a9e27b4cfdf (patch)
treeec507afa05b231361edd465ce929d710c4e38196
parent06f1560a58391d29b10697b2d5462966cd417b2f (diff)
downloadCMake-96b10e47bef6b78f64172d39b40b0a9e27b4cfdf.zip
CMake-96b10e47bef6b78f64172d39b40b0a9e27b4cfdf.tar.gz
CMake-96b10e47bef6b78f64172d39b40b0a9e27b4cfdf.tar.bz2
Remove unused variables from cmFindPackageCommand
-rw-r--r--Source/cmFindPackageCommand.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 828488f..557069b 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/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);