mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Merge topic 'rel-version'
bd11d78dfcHelp/dev: Clarify maintainer guide step for DEVEL_CMAKE_VERSIONd184bf0659Replace DEVEL_CMAKE_VERSION with literal 3.23 release version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6951
This commit is contained in:
@@ -270,8 +270,8 @@ Update ``Source/CMakeVersion.cmake`` to set the version to
|
||||
set(CMake_VERSION_PATCH 0)
|
||||
set(CMake_VERSION_RC 0)
|
||||
|
||||
Update uses of ``DEVEL_CMAKE_VERSION`` in the source tree to mention the
|
||||
actual version number:
|
||||
Replace uses of ``DEVEL_CMAKE_VERSION`` in the source tree with
|
||||
the literal release version number string ``"$major.$minor.0"``:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
|
||||
@@ -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