[CMake] How does one find blas and lapack on OSX?

James C. Sutherland James.Sutherland at utah.edu
Mon Jul 5 12:54:50 EDT 2010


On Mon, Jul 5, 2010 at 10:44 AM, John R. Cary <cary at txcorp.com> wrote:

>  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> 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
>

Look back in the mail list archives.  There was a discussion on this a while
back.  If you search for CLAPACK in the archives it should come up.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100705/1b1600b9/attachment.htm>


More information about the CMake mailing list