diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake index f63618cbe..a21483e33 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 ) +