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 the
include 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
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to