From 8585a12bd94241a6527cee22e840c430a45fead3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 11 Jun 2021 08:40:37 -0400 Subject: Find{BLAS,LAPACK}: Move enabled language requirement to top of documentation --- Modules/FindBLAS.cmake | 3 ++- Modules/FindLAPACK.cmake | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 00ce946..ed816fa 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 2d396d1..740dc28 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: -- cgit v0.12