Răsfoiți Sursa

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
Kovarththanan Rajaratnam 15 ani în urmă
părinte
comite
462fa2d185
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      Modules/FindCygwin.cmake

+ 2 - 1
Modules/FindCygwin.cmake

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