diff options
author | Brad King <brad.king@kitware.com> | 2019-07-01 13:59:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-01 13:59:51 (GMT) |
commit | fccc59c38c0bf56c21922fb1a79f0f3f653b2a1a (patch) | |
tree | 281a27d81331c40230313e635c064543ada4b292 | |
parent | ecee33c3ae2396a46e7576277a3db3872d28dda1 (diff) | |
parent | 96b10e47bef6b78f64172d39b40b0a9e27b4cfdf (diff) | |
download | CMake-fccc59c38c0bf56c21922fb1a79f0f3f653b2a1a.zip CMake-fccc59c38c0bf56c21922fb1a79f0f3f653b2a1a.tar.gz CMake-fccc59c38c0bf56c21922fb1a79f0f3f653b2a1a.tar.bz2 |
Merge topic 'remove_unneeded_variables_from_cmFindPackageCommand'
96b10e47be Remove unused variables from cmFindPackageCommand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3488
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 6 |
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); |