View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010951CMakeModulespublic2010-07-08 07:482010-09-10 00:08
ReporterFabrice Aeschbacher 
Assigned ToKovarththanan Rajaratnam 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0010951: FindCygwin.cmake: new registry key for Cygwin Installation
DescriptionFindCygwin.cmake tries to find Cygwin installation as follows:

  FIND_PATH(CYGWIN_INSTALL_PATH
   cygwin.bat
    "C:/Cygwin"
    "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
  )

Unfortunately, recent versions of Cygwin do not install this registry
key anymore, but this one:

   [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup]
   "rootdir"="D:\\cygwin"

Patch is trivial:


--- FindCygwin.cmake.bak 2010-07-08 13:45:15.637844400 +0200
+++ FindCygwin.cmake 2010-07-08 13:46:49.105398000 +0200
@@ -18,6 +18,7 @@
   FIND_PATH(CYGWIN_INSTALL_PATH
     cygwin.bat
     "C:/Cygwin"
+ "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin\\setup;rootdir]"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/;native]"
   )
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0021622)
Kovarththanan Rajaratnam (developer)
2010-08-04 00:47

Thanks for the patch.

 Issue History
Date Modified Username Field Change
2010-07-08 07:48 Fabrice Aeschbacher New Issue
2010-08-03 12:18 Kovarththanan Rajaratnam Status new => assigned
2010-08-03 12:18 Kovarththanan Rajaratnam Assigned To => Kovarththanan Rajaratnam
2010-08-03 12:18 Kovarththanan Rajaratnam Category CMake => Modules
2010-08-04 00:47 Kovarththanan Rajaratnam Note Added: 0021622
2010-08-04 00:47 Kovarththanan Rajaratnam Status assigned => closed
2010-08-04 00:47 Kovarththanan Rajaratnam Resolution open => fixed
2010-08-04 00:47 Kovarththanan Rajaratnam Fixed in Version => CMake-2-8
2010-09-10 00:08 David Cole Fixed in Version CMake-2-8 => CMake 2.8.3
2010-09-10 00:08 David Cole Target Version => CMake 2.8.3


Copyright © 2000 - 2018 MantisBT Team