summaryrefslogtreecommitdiffstats
path: root/Modules/FindUnixCommands.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-07 21:07:45 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-07 21:07:45 (GMT)
commit853fe7ee590d094807fb713201e9aa807b745999 (patch)
tree5c2f3b99d9efa44764c757cb4c8046f4d84e3707 /Modules/FindUnixCommands.cmake
parent3b8eff5552e65b2d673435a0bc4d088de9996268 (diff)
downloadCMake-853fe7ee590d094807fb713201e9aa807b745999.zip
CMake-853fe7ee590d094807fb713201e9aa807b745999.tar.gz
CMake-853fe7ee590d094807fb713201e9aa807b745999.tar.bz2
Add cp (CP)
Diffstat (limited to 'Modules/FindUnixCommands.cmake')
-rw-r--r--Modules/FindUnixCommands.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/FindUnixCommands.cmake b/Modules/FindUnixCommands.cmake
index 4269983..c402ad5 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