From 29f13ef7c5cb5ac4bb8b01e4eda7b643b3294c15 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Sun, 4 May 2025 10:18:22 -0400 Subject: [PATCH 1/2] Modules/FindKDE3: Remove info on `KDE3_ENABLE_FINAL` The variable was still listed as deprecated since CMake 2.4.8, documentation, but was actually removed long ago. Fixes: #26865 --- Modules/FindKDE3.cmake | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake index 15aaefaba7..ccfad5e7fb 100644 --- a/Modules/FindKDE3.cmake +++ b/Modules/FindKDE3.cmake @@ -189,19 +189,6 @@ This module provides the following commands to work with KDE 3 in CMake: source files ````. It also builds a small executable linked against this library. -Deprecated Variables -^^^^^^^^^^^^^^^^^^^^ - -The following variables have been either removed or are provided for backward -compatibility: - -``KDE3_ENABLE_FINAL`` - .. versionchanged:: 2.4.8 - This variable is now removed and no longer supported. - - This hint variable was provided as an option in earlier CMake versions to - enable all-in-one compilation. - Examples ^^^^^^^^ From af432bf582b7ba95373d0a6990996bbf6d0734c9 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Sun, 4 May 2025 10:20:08 -0400 Subject: [PATCH 2/2] Modules/FindTCL: Remove most "Changelog" content Remove documentation of variables or functionality that used to be provided prior to CMake 2.6. Fixes: #26865 --- Modules/FindTCL.cmake | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index d87e313b36..5ed37911f4 100644 --- a/Modules/FindTCL.cmake +++ b/Modules/FindTCL.cmake @@ -44,39 +44,13 @@ The following cache variables may also be set: ``TK_WISH`` The path to the ``wish`` windowing shell command-line executable. -Changelog -^^^^^^^^^ -.. versionchanged:: 2.6 +Other Libraries +^^^^^^^^^^^^^^^ - To reduce clutter and clarify usage for users who are not Tcl/Tk experts, some - variables have been removed or relocated. Many of the previous variables were - primarily useful only when writing Tcl/Tk extensions. +The Tcl Stub Library can be found using the separate :module:`FindTclStub` +module. - * The Tcl Stub Library can now be found using the separate - :module:`FindTclStub` module. - - * The ``TCL_STUB_LIBRARY_DEBUG`` and ``TK_STUB_LIBRARY_DEBUG`` cache variables - have been removed. They provided a path to the debug variant of the Tcl - Stub Library. - - The extension-related libraries are not typically packaged with standard - Tcl/Tk distributions. Even when building Tcl/Tk from source, several debug - variants (e.g., ``tcl84g``, ``tcl84gs``, ``tcl84sgx``, ``tclstub84g``, - ``tclstub84gs``, or ``tclstub84sgx``) may be produced. - - Rather than enforcing one specific variant, users are now free to set - ``TCL_LIBRARY`` to any desired variant (debug or release) when using this - module, and ``TCL_STUB_LIBRARY`` to any desired variant via the - :module:`FindTclStub` module. - - * The ``TK_INTERNAL_PATH`` cache variable has been removed. It specified the - directory containing the ``tkWinInt.h`` header file. - - This variable was Windows-specific and often caused confusion regarding file - locations within Tcl/Tk installation trees (as seen with version 8.5). When - internal paths are needed, it's now safer to locate the Tcl/Tk source tree - directly, or use the ``TK_INCLUDE_PATH`` variable instead. Examples ^^^^^^^^