summaryrefslogtreecommitdiffstats
path: root/Modules/FindCygwin.cmake
blob: 8fe326bf9f6f914badb5a8b42ea10e8a58332484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 
# 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)