2011/12/27 Alan W. Irwin <ir...@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
--

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

Reply via email to