I want to use the content of a regsitry entry

HKEY_LOCAL_MACHINE\SOFTWARE\GnuWin32/InstallPath

in order to use it in a FIND_PROGRAM , PATHS argument?

find_program(LEX_PROGRAM
                     NAMES flex lex
                     PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\InstallPath]/bin"
                     NO_DEFAULT_PATH
                     DOC "A lex-compatible lexer generator")

but this does not work?

How can I do that?
-- 
Erk
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to