[cmake-developers] [CMake 0011531]: CMAKE fails when registry key point to a path that use backslashs instead of slash
Mantis Bug Tracker
mantis at public.kitware.com
Sun Nov 28 11:56:51 EST 2010
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11531
======================================================================
Reported By: Nodrev
Assigned To:
======================================================================
Project: CMake
Issue ID: 11531
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2010-11-28 11:56 EST
Last Modified: 2010-11-28 11:56 EST
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-11-28 11:56 Nodrev New Issue
======================================================================
More information about the cmake-developers
mailing list