From b787b94d1af426695444274d25456f4e489468f4 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 23 Apr 2025 23:03:36 +0200 Subject: [PATCH] Help: Remove versionadded for CMake 2.x This removes all `versionadded` RST directives mentioning CMake 2.x branch from CMake modules. These version notes are now being cleaned in the CMake 4 documentation (CMake docs are at this point considering the 2.8.12.2 as the initial state upon which new and changed items are documented through versions). --- Modules/FindCups.cmake | 2 -- Modules/FindLibXml2.cmake | 2 -- Modules/FindLibXslt.cmake | 2 -- Modules/FindPNG.cmake | 2 -- Modules/FindPerl.cmake | 2 -- Modules/FindPkgConfig.cmake | 2 -- Modules/FindPythonLibs.cmake | 2 -- 7 files changed, 14 deletions(-) diff --git a/Modules/FindCups.cmake b/Modules/FindCups.cmake index dff1e4c8ec..871a809728 100644 --- a/Modules/FindCups.cmake +++ b/Modules/FindCups.cmake @@ -29,8 +29,6 @@ This module defines the following variables: ``CUPS_INCLUDE_DIRS`` Include directories needed for using CUPS. ``CUPS_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of CUPS found. Cache Variables diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake index c075e7a1b5..f453021011 100644 --- a/Modules/FindLibXml2.cmake +++ b/Modules/FindLibXml2.cmake @@ -38,8 +38,6 @@ This module defines the following variables: ``LIBXML2_DEFINITIONS`` The compiler switches required for using libxml2. ``LIBXML2_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of the libxml2 found. Cache Variables diff --git a/Modules/FindLibXslt.cmake b/Modules/FindLibXslt.cmake index 2325fa5250..d612c7db97 100644 --- a/Modules/FindLibXslt.cmake +++ b/Modules/FindLibXslt.cmake @@ -46,8 +46,6 @@ This module sets the following variables: Compiler switches required for using libxslt. ``LIBXSLT_VERSION_STRING`` - .. versionadded:: 2.8.8 - Version of libxslt found. ``LIBXSLT_EXSLT_LIBRARIES`` diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake index 64b35b5de0..1a72f7d788 100644 --- a/Modules/FindPNG.cmake +++ b/Modules/FindPNG.cmake @@ -38,8 +38,6 @@ This module sets the following variables: ``PNG_FOUND`` True if PNG library is found. ``PNG_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of the PNG library found. Obsolete Variables diff --git a/Modules/FindPerl.cmake b/Modules/FindPerl.cmake index 0c86f7526b..06a2e62d18 100644 --- a/Modules/FindPerl.cmake +++ b/Modules/FindPerl.cmake @@ -18,8 +18,6 @@ This module defines the following variables: ``PERL_FOUND`` variable is also set to the same value. ``PERL_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of Perl found. Cache Variables diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index 9200ba3e05..b230eb5ef5 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -15,8 +15,6 @@ following variables will also be set: True if a pkg-config executable was found. ``PKG_CONFIG_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of pkg-config that was found. ``PKG_CONFIG_EXECUTABLE`` diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index 2c8e13f3ab..4a0c1db6cc 100644 --- a/Modules/FindPythonLibs.cmake +++ b/Modules/FindPythonLibs.cmake @@ -35,8 +35,6 @@ This module defines the following variables: also set to the same value. ``PYTHONLIBS_VERSION_STRING`` - .. versionadded:: 2.8.8 - The version of the Python libraries found. ``PYTHON_LIBRARIES``