summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Help/manual/cmake-modules.7.rst2
-rw-r--r--Modules/FindUnixCommands.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
index 0daffab6b9..448d8ba56e 100644
--- a/Help/manual/cmake-modules.7.rst
+++ b/Help/manual/cmake-modules.7.rst
@@ -251,7 +251,6 @@ They are normally called through the :command:`find_package` command.
/module/FindTclStub
/module/FindThreads
/module/FindTIFF
- /module/FindUnixCommands
/module/FindVulkan
/module/FindWget
/module/FindWish
@@ -298,6 +297,7 @@ Deprecated Find Modules
/module/FindPythonInterp
/module/FindPythonLibs
/module/FindQt
+ /module/FindUnixCommands
/module/FindVTK
/module/FindwxWindows
diff --git a/Modules/FindUnixCommands.cmake b/Modules/FindUnixCommands.cmake
index 97739fa146..d71518f253 100644
--- a/Modules/FindUnixCommands.cmake
+++ b/Modules/FindUnixCommands.cmake
@@ -5,6 +5,10 @@
FindUnixCommands
----------------
+.. deprecated:: 3.26
+
+ Use :option:`${CMAKE_COMMAND} -E <cmake -E>` subcommands instead.
+
Find Unix commands, including the ones from Cygwin
This module looks for the Unix commands ``bash``, ``cp``, ``gzip``,