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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake