View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011531 | CMake | CMake | public | 2010-11-28 11:56 | 2010-12-21 10:58 | ||||
Reporter | Nodrev | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | x586 | OS | MS Windows | OS Version | Seven | ||||
Product Version | CMake 2.8.3 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011531: CMAKE fails when registry key point to a path that use backslashs instead of slash | ||||||||
Description | When a cmake find module uses registry, if the path in the registry key uses windows standard directory separators "\", they are not converted to "/", and cmakes fails to expand the directory. | ||||||||
Steps To Reproduce | In a command shell: REG ADD HKLM\SOFTWARE\GnuWin32\Zlib /v InstallPath /d "D:\libraries\zlib" /f REG ADD HKLM\SOFTWARE\Wow6432Node\GnuWin32\Zlib /v InstallPath /d "D:\libraries\zlib" /f Use FindZLIB. An error occurs telling Zlib was not found. If the "\" are replaced by "/", Zlib is found. | ||||||||
Tags | registry | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0024232) Brad King (manager) 2010-12-17 09:30 |
I cannot reproduce this. My registry entry points at C:\Program Files (x86)\GnuWin32 (with backslashes) and find_package(ZLIB) works. If I comment out the registry entry references in FindZLIB.cmake then it fails, so it is definitely using the registry to find zlib when it works. |
(0024313) Brad King (manager) 2010-12-21 10:58 |
Closing for now. Please re-open if necessary with more specific instructions to reproduce. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-28 11:56 | Nodrev | New Issue | |
2010-11-28 11:59 | Nodrev | Tag Attached: registry | |
2010-12-17 09:28 | Brad King | Assigned To | => Brad King |
2010-12-17 09:28 | Brad King | Status | new => assigned |
2010-12-17 09:30 | Brad King | Note Added: 0024232 | |
2010-12-21 10:58 | Brad King | Note Added: 0024313 | |
2010-12-21 10:58 | Brad King | Status | assigned => closed |
2010-12-21 10:58 | Brad King | Resolution | open => unable to reproduce |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |