From 853fe7ee590d094807fb713201e9aa807b745999 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Wed, 7 Nov 2001 16:07:45 -0500 Subject: [PATCH] Add cp (CP) --- Modules/FindUnixCommands.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Modules/FindUnixCommands.cmake b/Modules/FindUnixCommands.cmake index 4269983d5..c402ad53c 100644 --- a/Modules/FindUnixCommands.cmake +++ b/Modules/FindUnixCommands.cmake @@ -11,6 +11,11 @@ IF (CYGWIN_INSTALL_PATH) ${CYGWIN_INSTALL_PATH}/bin ) + FIND_PROGRAM(CP + cp + ${CYGWIN_INSTALL_PATH}/bin + ) + FIND_PROGRAM(GZIP gzip ${CYGWIN_INSTALL_PATH}/bin @@ -44,6 +49,14 @@ ELSE (CYGWIN_INSTALL_PATH) /sbin ) + FIND_PROGRAM(CP + cp + /bin + /usr/bin + /usr/local/bin + /sbin + ) + FIND_PROGRAM(GZIP gzip /bin