On Monday 28 September 2009, Crni Gorac wrote: > Could you please add a possibility to specify Matlab root installation > directory, through an environment variable, to FindMatlab.cmake > module? For example, for non-Windows platforms, following line could > be added after line 50 of FindMatlab.cmake (and, of course, alike line > would be needed below, say after line 58 of the same file, for 64-bit > case): > $ENV{MATLAB_DIR}/bin/glnx86/ > Many other modules have alike possibility (it should be probably made > some kind of standard between modules), and the hard-coded list of > possible paths is simply too narrow).
You can also set the CMAKE_PREFIX_PATH env.var. so that it contains MATLAB_DIR, this should help too. Alex _______________________________________________ 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