[CMake] Reading registry broken on Windows 7?
Celil Rufat
celil.rufat at gmail.com
Thu Nov 19 03:44:49 EST 2009
On a Windows 7 machine I cannot read any registry values that contain a
semicolon.
For example if you have 7-zip, running the following
SET(MYPATH [HKEY_LOCAL_MACHINE\\SOFTWARE\\7-Zip;Path])
MESSAGE("MYPATH = ${MYPATH}")
results in
MYPATH = [HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip;Path]
instead of the actual path as per the following thread
http://www.mail-archive.com/cmake@cmake.org/msg19014.html
I think registry paths that contain ";" are broken on Windows 7. Can
somebody confirm this? Is there any work-around?
Celil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091119/5720c413/attachment.htm>
More information about the CMake
mailing list