HelloI am trying to read MatlabRoot from Registry ,so I can use it in my include and lib paths. like this : GET_FILENAME_COMPONENT(MATLAB_ROOT_PATH [HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT] ABSOLUTE) message(${MATLAB_ROOT_PATH})
But the message only prints /registry. Where is the mistake?
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake