I try to use CMake to create a program using blas, I detect blas using:
include (${CMAKE_ROOT}/Modules/FindBLAS.cmake)
The problem is that FindBLAS requires fortran compiler and complains about
-- Looking for BLAS... - NOT found (Fortran not enabled)
Since 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?
source share