summaryrefslogtreecommitdiffstats
path: root/Modules/FindCygwin.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-10-25 00:33:52 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-10-25 00:33:52 (GMT)
commit4a99c1a98f04323b805f2a5b350c520d98ba8966 (patch)
tree04547aeffb495035bb36b276a8aacaf1799ef2d9 /Modules/FindCygwin.cmake
parent1096d43d14b27d8d697e41e96df3992fe3d278d9 (diff)
downloadCMake-4a99c1a98f04323b805f2a5b350c520d98ba8966.zip
CMake-4a99c1a98f04323b805f2a5b350c520d98ba8966.tar.gz
CMake-4a99c1a98f04323b805f2a5b350c520d98ba8966.tar.bz2
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 f63618c..a21483e 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
)
+