[CMake] FindLAPACK/FindBLAS require Fortran compiler. Why?

Marcel Loose loose at astron.nl
Tue Jul 7 04:11:21 EDT 2009


Hi all,

I noticed that FindLAPACK and FindBLAS require that you enable Fortran
as language, which causes CMake to check for a working Fortran
compiler. 
IMHO, you only need the fortran runtime libraries, cause you're only
linking against the Lapack/Blas libraries. Most Linux distro's have
separate packages for compiler and runtime libraries.

Is there a good reason for FindLAPACK and FindBLAS to require a working
Fortran compiler?

Best regards,
Marcel Loose.




More information about the CMake mailing list