summaryrefslogtreecommitdiff
path: root/Modules/FindCygwin.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-10-24 20:33:52 -0400
committerSebastien Barre <sebastien.barre@kitware.com>2001-10-24 20:33:52 -0400
commit4a99c1a98f04323b805f2a5b350c520d98ba8966 (patch)
tree04547aeffb495035bb36b276a8aacaf1799ef2d9 /Modules/FindCygwin.cmake
parent1096d43d14b27d8d697e41e96df3992fe3d278d9 (diff)
downloadcmake-4a99c1a98f04323b805f2a5b350c520d98ba8966.tar.gz
Add TAR (path to tar or gtar)
Diffstat (limited to 'Modules/FindCygwin.cmake')
-rw-r--r--Modules/FindCygwin.cmake13
1 files changed, 11 insertions, 2 deletions
diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake
index f63618cbe1..a21483e33c 100644
--- a/Modules/FindCygwin.cmake
+++ b/Modules/FindCygwin.cmake
@@ -8,12 +8,21 @@ FIND_PATH(CYGWIN_INSTALL_PATH
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
)
+FIND_PROGRAM(MV
+ mv
+ ${CYGWIN_INSTALL_PATH}/bin
+)
+
FIND_PROGRAM(RM
rm
${CYGWIN_INSTALL_PATH}/bin
)
-FIND_PROGRAM(MV
- mv
+FIND_PROGRAM(TAR
+ NAMES
+ tar
+ gtar
+ PATH
${CYGWIN_INSTALL_PATH}/bin
)
+