RE: [CMake] Get Windows Registry Key!!!! Doesn't work!!!

2007-08-09 Thread Torsten Martinsen
Berardino la Torre wrote: I'm 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) Where did you see documented that this is supposed to work? -Torsten This e-mail and

Re: [CMake] Get Windows Registry Key!!!! Doesn't work!!!

2007-08-09 Thread Pau Garcia i Quiles
Quoting Berardino la Torre [EMAIL PROTECTED]: The problem is you are not capturing the value at all. For instance, this works: GET_FILENAME_COMPONENT( CACHE_ROOTDIR [HKEY_LOCAL_MACHINE\\Software\\InterSystems\\Cache\\Configurations\\CACHE\\Directory;] ABSOLUTE ) In your case, you'd need