2005-12-14 21:51:08 +03:00
|
|
|
# - this module looks for Cygwin
|
2001-10-24 02:30:05 +04:00
|
|
|
#
|
|
|
|
|
2009-09-28 19: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-07 04:48:47 +04:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2009-09-28 19:45:50 +04:00
|
|
|
# License text for the above reference.)
|
|
|
|
|
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 ()
|