summaryrefslogtreecommitdiff
path: root/Modules/FindUnixCommands.cmake
diff options
context:
space:
mode:
authorFeRD (Frank Dana) <ferdnyc@gmail.com>2023-01-11 20:48:39 -0500
committerFeRD (Frank Dana) <ferdnyc@gmail.com>2023-01-12 11:34:48 -0500
commit0847682c47ee518dcf0195f2336a68c83030fb4b (patch)
tree80a0e9198342188a30f553d4def846236e23b790 /Modules/FindUnixCommands.cmake
parente4c281e45196b3c3fa2f327476838ac77b76e838 (diff)
downloadcmake-0847682c47ee518dcf0195f2336a68c83030fb4b.tar.gz
FindUnixCommands: Deprecate in favor of cmake -E
`${CMAKE_COMMAND} -E` subcommands are cross-platform replacements. Fixes: #24263
Diffstat (limited to 'Modules/FindUnixCommands.cmake')
-rw-r--r--Modules/FindUnixCommands.cmake4
1 files changed, 4 insertions, 0 deletions
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``,