Find{BLAS,LAPACK}: Document intended usage of _LIBRARIES more precisely

Remove the outdated promise of absolute paths in `_LIBRARIES`.
The "using full path name" phrasing was left from before imported
targets were a thing.

Issue: #28073
This commit is contained in:
Brad King
2026-09-07 11:20:04 -04:00
parent 2ee33f507d
commit b2feea6f38
2 changed files with 10 additions and 8 deletions
+4 -3
View File
@@ -36,12 +36,13 @@ This module defines the following variables:
Boolean indicating whether the library implementing the BLAS interface
was found.
``BLAS_LINKER_FLAGS``
Uncached list of required linker flags (excluding ``-l`` and ``-L``).
List of required linker flags, excluding ``-l`` and ``-L``,
to pass to :command:`target_link_options`.
``BLAS_LIBRARIES``
Uncached list of libraries (using full path name) to link against
List of libraries to link via :command:`target_link_libraries`
to use BLAS (may be empty if compiler implicitly links BLAS).
``BLAS95_LIBRARIES``
Uncached list of libraries (using full path name) to link against
List of libraries to link via :command:`target_link_libraries`
to use BLAS95 interface.
``BLAS95_FOUND``
Boolean indicating whether the library implementing the BLAS95 interface
+6 -5
View File
@@ -36,13 +36,14 @@ This module defines the following variables:
Boolean indicating whether the library implementing the LAPACK interface
was found.
``LAPACK_LINKER_FLAGS``
Uncached list of required linker flags (excluding ``-l`` and ``-L``).
List of required linker flags, excluding ``-l`` and ``-L``,
to pass to :command:`target_link_options`.
``LAPACK_LIBRARIES``
Uncached list of libraries (using full path name) to link against to use
LAPACK.
List of libraries to link via :command:`target_link_libraries`
to use LAPACK.
``LAPACK95_LIBRARIES``
Uncached list of libraries (using full path name) to link against to use
LAPACK95.
List of libraries to link via :command:`target_link_libraries`
to use LAPACK95.
``LAPACK95_FOUND``
Boolean indicating whether the library implementing the LAPACK95 interface
was found.