CMake and BLAS for a C program
Posted
by SuperBloup
on Stack Overflow
See other posts from Stack Overflow
or by SuperBloup
Published on 2010-04-17T09:25:40Z
Indexed on
2010/04/17
9:33 UTC
Read the original article
Hit count: 508
I'm trying to use CMake to build a program relying on blas, I'm detecting blas using :
include (${CMAKE_ROOT}/Modules/FindBLAS.cmake)
The problem is, FindBLAS require a fortran compiler and complain with
-- Looking for BLAS... - NOT found (Fortran not enabled)
As blas is already installed on my machine (ATLAS Blas), and gfortran is also installed, how can I enable Fortran, or is there a workaround to find the blas library for C?
© Stack Overflow or respective owner