summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-11 12:00:22 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-11 12:00:22 (GMT)
commit43b581367d71ce45bb36ef0fc3bf77bfbea98af2 (patch)
tree0f7f0a007efdbafbdf400e14426e73a8b8f642be /Modules
parent3beac78a133a6bc23a77530490cffe978d9f1311 (diff)
downloadCMake-43b581367d71ce45bb36ef0fc3bf77bfbea98af2.zip
CMake-43b581367d71ce45bb36ef0fc3bf77bfbea98af2.tar.gz
CMake-43b581367d71ce45bb36ef0fc3bf77bfbea98af2.tar.bz2
Find{BLAS,LAPACK}: Move implementation note from docs to comments
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBLAS.cmake7
-rw-r--r--Modules/FindLAPACK.cmake7
2 files changed, 6 insertions, 8 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index f077814..ae4f779 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -10,10 +10,6 @@ Find Basic Linear Algebra Subprograms (BLAS) library
This module finds an installed Fortran library that implements the
BLAS linear-algebra interface (see http://www.netlib.org/blas/).
-The approach follows that taken for the ``autoconf`` macro file,
-``acx_blas.m4`` (distributed at
-http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
-
Input Variables
^^^^^^^^^^^^^^^
@@ -184,6 +180,9 @@ Hints
#]=======================================================================]
+# The approach follows that of the ``autoconf`` macro file, ``acx_blas.m4``
+# (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
+
# Check the language being used
if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED))
if(BLAS_FIND_REQUIRED)
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 3eeb4b2..7026f11 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -10,10 +10,6 @@ Find Linear Algebra PACKage (LAPACK) library
This module finds an installed Fortran library that implements the
LAPACK linear-algebra interface (see http://www.netlib.org/lapack/).
-The approach follows that taken for the ``autoconf`` macro file,
-``acx_lapack.m4`` (distributed at
-http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
-
Input Variables
^^^^^^^^^^^^^^^
@@ -76,6 +72,9 @@ This module defines the following variables:
find_package(LAPACK)
#]=======================================================================]
+# The approach follows that of the ``autoconf`` macro file, ``acx_lapack.m4``
+# (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
+
if(CMAKE_Fortran_COMPILER_LOADED)
include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake)
else()