[CMake] FW: Windows registry

Berardino la Torre berardino.latorre at hotmail.com
Tue Aug 7 10:13:29 EDT 2007





Trying to read an installation path from the windows registry: SET(FBXSDK_ROOT_PATH [HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir] CACHE PATH "FBX") and then using the variable FBXSDK_ROOT_PATH to setup theinclude and lib directories. INCLUDE_DIRECTORIES(${FBXSDK_ROOT_PATH}/include)LINK_DIRECTORIES(${FBXSDK_ROOT_PATH}/lib) But nothing seems to happen. The variable FBXSDK_ROOT_PATH got just the value :[HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir] like a simple string. I tried also using the syntax : SET(FBXSDK_ROOT_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir]"CACHE PATH "FBX") but nothing has changed. What's wrong with it ?  thank you, Bera
_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070807/6f64de9a/attachment.html


More information about the CMake mailing list