summaryrefslogtreecommitdiffstats
path: root/Modules/FindCygwin.cmake
diff options
context:
space:
mode:
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
)
+