2013-10-15 11:17:36 -04:00
|
|
|
#.rst:
|
|
|
|
# FindCygwin
|
|
|
|
# ----------
|
2001-10-23 18:30:05 -04:00
|
|
|
#
|
2013-10-15 11:17:36 -04:00
|
|
|
# this module looks for Cygwin
|
2001-10-23 18:30:05 -04:00
|
|
|
|
2009-09-28 11:45:50 -04:00
|
|
|
#=============================================================================
|
|
|
|
# Copyright 2001-2009 Kitware, Inc.
|
|
|
|
#
|
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
#
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# See the License for more information.
|
|
|
|
#=============================================================================
|
2010-08-06 17:48:47 -07:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2009-09-28 11:45:50 -04:00
|
|
|
# License text for the above reference.)
|
|
|
|
|
2012-08-13 13:47:32 -04:00
|
|
|
if (WIN32)
|
|
|
|
find_path(CYGWIN_INSTALL_PATH
|
2001-12-04 10:55:17 -05:00
|
|
|
cygwin.bat
|
2010-07-31 07:51:00 +02:00
|
|
|
"C:/Cygwin"
|
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
|
2001-12-04 10:55:17 -05:00
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
|
|
|
|
)
|
|
|
|
|
2012-08-13 13:47:32 -04:00
|
|
|
mark_as_advanced(
|
2001-12-04 10:55:17 -05:00
|
|
|
CYGWIN_INSTALL_PATH
|
|
|
|
)
|
2012-08-13 13:50:14 -04:00
|
|
|
endif ()
|