summaryrefslogtreecommitdiffstats
path: root/Modules/FindCygwin.cmake
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-07-31 05:51:00 (GMT)
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-07-31 05:51:00 (GMT)
commit462fa2d185e111b01635c727a5de2ff6aac3b342 (patch)
tree7205e7ef688457f40b95b7432324088cc0c10521 /Modules/FindCygwin.cmake
parent41dbdb71cda5b3428c36b2ea283db71d1ab26578 (diff)
downloadCMake-462fa2d185e111b01635c727a5de2ff6aac3b342.zip
CMake-462fa2d185e111b01635c727a5de2ff6aac3b342.tar.gz
CMake-462fa2d185e111b01635c727a5de2ff6aac3b342.tar.bz2
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
Diffstat (limited to 'Modules/FindCygwin.cmake')
-rw-r--r--Modules/FindCygwin.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake
index 5b2bc59..7bf481f 100644
--- a/Modules/FindCygwin.cmake
+++ b/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]"
)