2016-09-27 19:01:08 +00:00
|
|
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
2013-10-15 15:17:36 +00:00
|
|
|
#.rst:
|
|
|
|
# FindCygwin
|
|
|
|
# ----------
|
2001-10-23 22:30:05 +00:00
|
|
|
#
|
2013-10-15 15:17:36 +00:00
|
|
|
# this module looks for Cygwin
|
2001-10-23 22:30:05 +00:00
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
if (WIN32)
|
|
|
|
find_path(CYGWIN_INSTALL_PATH
|
2001-12-04 15:55:17 +00:00
|
|
|
cygwin.bat
|
2010-07-31 05:51:00 +00:00
|
|
|
"C:/Cygwin"
|
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
|
2001-12-04 15:55:17 +00:00
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
|
|
|
|
)
|
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
mark_as_advanced(
|
2001-12-04 15:55:17 +00:00
|
|
|
CYGWIN_INSTALL_PATH
|
|
|
|
)
|
2012-08-13 17:50:14 +00:00
|
|
|
endif ()
|