mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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`.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user