FindCygwin: add new registry entry for Cygwin 1.7 (#10951)

This patch adds support for Cygwin 1.7 which uses a new registry entry

Patch by Fabrice Aeschbacher
This commit is contained in:
Kovarththanan Rajaratnam 2010-07-31 07:51:00 +02:00
parent 41dbdb71cd
commit 462fa2d185
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ IF (WIN32)
FIND_PATH(CYGWIN_INSTALL_PATH FIND_PATH(CYGWIN_INSTALL_PATH
cygwin.bat cygwin.bat
"C:/Cygwin" "C:/Cygwin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
) )