[CMake] How does one find blas and lapack on OSX?
John R. Cary
cary at txcorp.com
Mon Jul 5 12:44:33 EDT 2010
On 7/5/2010 9:37 AM, James C. Sutherland wrote:
>
>
> On Mon, Jul 5, 2010 at 9:34 AM, John Cary <cary at txcorp.com
> <mailto:cary at txcorp.com>> wrote:
>
> I have simply:
>
> FIND_PACKAGE(BLAS)
> FIND_PACKAGE(LAPACK)
>
> but cmake gives
>
> -- Looking for BLAS... - NOT found (Fortran not enabled)
> -- Looking for LAPACK... - NOT found (Fortran not enabled)
>
> Is this more complicated somehow?
>
>
> Be sure to include
> enable_language( Fortran )
> in your project.
>
> James
Thanks much. That worked.
On another OS, I need to use clapack. Is there a way
to find that instead?
Thx...John Cary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100705/1011a365/attachment.htm>
More information about the CMake
mailing list