From 4a99c1a98f04323b805f2a5b350c520d98ba8966 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Wed, 24 Oct 2001 20:33:52 -0400 Subject: [PATCH] Add TAR (path to tar or gtar) --- Modules/FindCygwin.cmake | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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 ) +