1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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 )