2016-09-27 22:01:08 +03: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 19:17:36 +04:00
|
|
|
#.rst:
|
|
|
|
# FindCygwin
|
|
|
|
# ----------
|
2001-10-24 02:30:05 +04:00
|
|
|
#
|
2013-10-15 19:17:36 +04:00
|
|
|
# this module looks for Cygwin
|
2001-10-24 02:30:05 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if (WIN32)
|
|
|
|
find_path(CYGWIN_INSTALL_PATH
|
2001-12-04 18:55:17 +03:00
|
|
|
cygwin.bat
|
2010-07-31 09:51:00 +04:00
|
|
|
"C:/Cygwin"
|
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
|
2001-12-04 18:55:17 +03:00
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
|
|
|
|
)
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
mark_as_advanced(
|
2001-12-04 18:55:17 +03:00
|
|
|
CYGWIN_INSTALL_PATH
|
|
|
|
)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif ()
|