FindCygwin.cmake 313 B

12345678910111213141516171819
  1. #
  2. # this module looks for Cygwin and some usual commands
  3. #
  4. FIND_PATH(CYGWIN_INSTALL_PATH
  5. cygwin.bat
  6. "C:/Cygwin"
  7. "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
  8. )
  9. FIND_PROGRAM(RM
  10. rm
  11. ${CYGWIN_INSTALL_PATH}/bin
  12. )
  13. FIND_PROGRAM(MV
  14. mv
  15. ${CYGWIN_INSTALL_PATH}/bin
  16. )