summaryrefslogtreecommitdiff
path: root/Modules/FindCygwin.cmake
blob: def439e500a9ce0cacc43d702d2a0b24437f4fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# - this module looks for Cygwin
#

IF (WIN32)
  FIND_PATH(CYGWIN_INSTALL_PATH
    cygwin.bat
    "C:/Cygwin" 
    "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
  )

  MARK_AS_ADVANCED(
    CYGWIN_INSTALL_PATH
  )
ENDIF (WIN32)