diff options
author | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:12:24 (GMT) |
---|---|---|
committer | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:12:24 (GMT) |
commit | 8e671f2564d272baf5db407489cab6652b80bffd (patch) | |
tree | 182db8e389848e8ae2c6088b0bd0ad44d2969ef9 /Modules/FindLAPACK.cmake | |
parent | ec6bbfd58d6f72125f21c050aab12480cce15448 (diff) | |
download | CMake-8e671f2564d272baf5db407489cab6652b80bffd.zip CMake-8e671f2564d272baf5db407489cab6652b80bffd.tar.gz CMake-8e671f2564d272baf5db407489cab6652b80bffd.tar.bz2 |
FindLAPACK use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r-- | Modules/FindLAPACK.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 01ce074..decc034 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -162,6 +162,7 @@ macro(CHECK_LAPACK_LIBRARIES LIBRARIES _prefix _name _flags _list _threadlibs _a if(_libraries_work) find_library(${_prefix}_${_library}_LIBRARY NAMES ${_library} + NAMES_PER_DIR PATHS ${_extaddlibdir} PATH_SUFFIXES ${_subdirs} ) |