ENH: add more paths for the HP
[cmake.git] / Modules / FindUnixCommands.cmake
blob568f3bc463fa61791410758218befa92ab6f154a
1
2 # this module looks for some usual Unix commands
5 INCLUDE(${CMAKE_ROOT}/Modules/FindCygwin.cmake)
7 FIND_PROGRAM(BASH
8   bash
9   ${CYGWIN_INSTALL_PATH}/bin
10   /bin
11   /usr/bin 
12   /usr/local/bin
13   /sbin
15 MARK_AS_ADVANCED(
16   BASH
19 FIND_PROGRAM(CP
20   cp
21   ${CYGWIN_INSTALL_PATH}/bin
22   /bin
23   /usr/bin 
24   /usr/local/bin
25   /sbin
27 MARK_AS_ADVANCED(
28   CP
31 FIND_PROGRAM(GZIP
32   gzip
33   ${CYGWIN_INSTALL_PATH}/bin
34   /bin
35   /usr/bin 
36   /usr/local/bin
37   /sbin
39 MARK_AS_ADVANCED(
40   GZIP
43 FIND_PROGRAM(MV
44   mv
45   ${CYGWIN_INSTALL_PATH}/bin
46   /bin
47   /usr/bin 
48   /usr/local/bin
49   /sbin
51 MARK_AS_ADVANCED(
52   MV
55 FIND_PROGRAM(RM
56   rm
57   ${CYGWIN_INSTALL_PATH}/bin
58   /bin
59   /usr/bin 
60   /usr/local/bin
61   /sbin
63 MARK_AS_ADVANCED(
64   RM
67 FIND_PROGRAM(TAR
68   NAMES 
69   tar 
70   gtar
71   PATH
72   ${CYGWIN_INSTALL_PATH}/bin
73   /bin
74   /usr/bin 
75   /usr/local/bin
76   /sbin
78 MARK_AS_ADVANCED(
79   TAR