[CMake] Add external static libraries / ar-archives to a build.

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Oct 21 12:35:40 EDT 2008


On 2008-10-21 16:52+0200 Martin Köhler wrote:

> When I pass the absolute path of the ar-archive it seems to work. It's not
the perfect solution because it doesn't check if the lib could be linked to
the other files.

The link check is taken care of by the FindBLAS.cmake method which I believe
simply just needs another stanza added for your GoToBLAS case (see my
previous post).  The reason why the stanza requires the vendor's name for
the sgemm routine is so that the link check can be performed using that
function name.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list