Browse Source

install: Rename variable referencing cmake version.

The next version is 3.0.0, not 2.8.13.

The version generated in the export file should be updated in
the release branch in both cmExportInstallFileGenerator and
cmExportBuildFileGenerator.
Stephen Kelly 12 years ago
parent
commit
a0cacb5521
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/cmExportInstallFileGenerator.cxx

+ 3 - 3
Source/cmExportInstallFileGenerator.cxx

@@ -114,7 +114,7 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
   std::vector<std::string> missingTargets;
   std::vector<std::string> missingTargets;
 
 
   bool require2_8_12 = false;
   bool require2_8_12 = false;
-  bool require2_8_13 = false;
+  bool require3_0_0 = false;
   // Create all the imported targets.
   // Create all the imported targets.
   for(std::vector<cmTargetExport*>::const_iterator
   for(std::vector<cmTargetExport*>::const_iterator
         tei = allTargets.begin();
         tei = allTargets.begin();
@@ -160,7 +160,7 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
       }
       }
     if (te->GetType() == cmTarget::INTERFACE_LIBRARY)
     if (te->GetType() == cmTarget::INTERFACE_LIBRARY)
       {
       {
-      require2_8_13 = true;
+      require3_0_0 = true;
       }
       }
     this->PopulateInterfaceProperty("INTERFACE_POSITION_INDEPENDENT_CODE",
     this->PopulateInterfaceProperty("INTERFACE_POSITION_INDEPENDENT_CODE",
                                   te, properties);
                                   te, properties);
@@ -169,7 +169,7 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
     this->GenerateInterfaceProperties(te, os, properties);
     this->GenerateInterfaceProperties(te, os, properties);
     }
     }
 
 
-  if (require2_8_13)
+  if (require3_0_0)
     {
     {
     this->GenerateRequiredCMakeVersion(os, "2.8.12.20131007");
     this->GenerateRequiredCMakeVersion(os, "2.8.12.20131007");
     }
     }