FindUnixCommands
Deprecated since version 3.26: Use ${CMAKE_COMMAND} -E subcommands instead.
Finds Unix commands bash, cp, gzip, mv, rm, and tar, including the ones from Cygwin or MSYS:
find_package(UnixCommands [...])
Result Variables
This module defines the following variables:
-
UnixCommands_FOUND -
Added in version 3.3.
Boolean indicating whether Unix commands were found.
Cache Variables
The following cache variables may also be set:
-
BASH -
The path to the
bashcommand-line executable. -
CP -
The path to the
cpcommand-line executable. -
GZIP -
The path to the
gzipcommand-line executable. -
MV -
The path to the
mvcommand-line executable. -
RM -
The path to the
rmcommand-line executable. -
TAR -
The path to the
tarcommand-line executable.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/module/FindUnixCommands.html