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.
|
|
|
|
#=============================================================================
|
|
|
|
# (To distributed this file outside of CMake, substitute the full
|
|
|
|
# License text for the above reference.)
|
|
|
|
|
2001-12-04 18:55:17 +03:00
|
|
|
IF (WIN32)
|
|
|
|
FIND_PATH(CYGWIN_INSTALL_PATH
|
|
|
|
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]"
|
|
|
|
)
|
|
|
|
|
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
CYGWIN_INSTALL_PATH
|
|
|
|
)
|
|
|
|
ENDIF (WIN32)
|