[CMake] CMake 2.8.7-rc2 ready for testing!

Eric Noulard eric.noulard at gmail.com
Fri Dec 30 05:06:30 EST 2011


2011/12/27 Alan W. Irwin <irwin at beluga.phys.uvic.ca>:

Hi Alan,

> The issue is that if I set CMAKE_LIBRARY_PATH to find a special
> version of lapack/blas, only the lapack part of that is honored.  For
> example, if I set
>
> export CMAKE_LIBRARY_PATH=/home/software/lapack/install_double/lib

Did you tried with CMAKE_FIND_ROOT_PATH instead?

cmake -DCMAKE_FIND_ROOT_PATH:PATH=/home/software/lapack/install_double
/path/to/source

in fact I wasn't even aware of the CMAKE_LIBRARY_PATH nor friends
like CMAKE_PREFIX_PATH and the like.

How do they interact with "CMAKE_FIND_ROOT_PATH" ?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list