[CMake] CMake 2.8.7-rc2 ready for testing!
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Jan 3 12:58:22 EST 2012
On Friday 30 December 2011, Alan W. Irwin wrote:
> On 2011-12-30 11:06+0100 Eric Noulard wrote:
> > 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.
>
> Hmm. I had never heard of CMAKE_FIND_ROOT_PATH until now, but it
> certainly wasn't around when I learned all about CMAKE_LIBRARY_PATH
> and CMAKE_INCLUDE_PATH years ago. I guess the problem is I have too
> long a history with CMake, and I haven't been paying enough attention to
> the more recently developed features. :-)
It is intended to be used for cross compiling. There it should be used to tell
cmake where to find the root of the target system.
I guess you know CMAKE_PREFIX_PATH ?
Alex
More information about the CMake
mailing list