diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 00ce946792..ed816faa67 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -10,6 +10,8 @@ Find Basic Linear Algebra Subprograms (BLAS) library This module finds an installed Fortran library that implements the `BLAS linear-algebra interface`_. +At least one of the ``C``, ``CXX``, or ``Fortran`` languages must be enabled. + .. _`BLAS linear-algebra interface`: http://www.netlib.org/blas/ Input Variables @@ -63,7 +65,6 @@ This module defines the following variables: .. note:: - C, CXX or Fortran must be enabled to detect a BLAS library. C or CXX must be enabled to use Intel Math Kernel Library (MKL). For example, to use Intel MKL libraries and/or Intel compiler: diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 2d396d1d74..740dc28feb 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -10,6 +10,8 @@ Find Linear Algebra PACKage (LAPACK) library This module finds an installed Fortran library that implements the `LAPACK linear-algebra interface`_. +At least one of the ``C``, ``CXX``, or ``Fortran`` languages must be enabled. + .. _`LAPACK linear-algebra interface`: http://www.netlib.org/lapack/ Input Variables @@ -63,7 +65,6 @@ This module defines the following variables: .. note:: - C, CXX or Fortran must be enabled to detect a BLAS/LAPACK library. C or CXX must be enabled to use Intel Math Kernel Library (MKL). For example, to use Intel MKL libraries and/or Intel compiler: