Browse Source

Replace DEVEL_CMAKE_VERSION with literal 3.23 release version

This was accidentally left out of commit 736663deed (Begin 3.23 release
versioning, 2022-02-03).  The step is documented as part of the release
branching process in the CMake Maintainer Guide `Help/dev/maint.rst`.
Brad King 3 years ago
parent
commit
d184bf0659
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/cmExportFileGenerator.cxx

+ 1 - 2
Source/cmExportFileGenerator.cxx

@@ -1272,8 +1272,7 @@ void cmExportFileGenerator::GenerateTargetFileSets(cmGeneratorTarget* gte,
   auto interfaceFileSets = gte->Target->GetAllInterfaceFileSets();
   if (!interfaceFileSets.empty()) {
     std::string targetName = cmStrCat(this->Namespace, gte->GetExportName());
-    os << "if(NOT CMAKE_VERSION VERSION_LESS \"" << DEVEL_CMAKE_VERSION(3, 23)
-       << "\")\n"
+    os << "if(NOT CMAKE_VERSION VERSION_LESS \"3.23.0\")\n"
           "  target_sources("
        << targetName << "\n";