diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake new file mode 100644 index 000000000..f63618cbe --- /dev/null +++ b/Modules/FindCygwin.cmake @@ -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 +)