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