Cygwin mod
This commit is contained in:
parent
cc731ac548
commit
4b7622b9ae
19
Modules/FindCygwin.cmake
Normal file
19
Modules/FindCygwin.cmake
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# this module looks for Cygwin and some usual commands
|
||||||
|
#
|
||||||
|
|
||||||
|
FIND_PATH(CYGWIN_INSTALL_PATH
|
||||||
|
cygwin.bat
|
||||||
|
"C:/Cygwin"
|
||||||
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(RM
|
||||||
|
rm
|
||||||
|
${CYGWIN_INSTALL_PATH}/bin
|
||||||
|
)
|
||||||
|
|
||||||
|
FIND_PROGRAM(MV
|
||||||
|
mv
|
||||||
|
${CYGWIN_INSTALL_PATH}/bin
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user