summaryrefslogtreecommitdiff
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-02 00:37:04 +0530
committerSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-02 00:37:04 +0530
commit764696dcd055110276399a798ba336ab3e90706e (patch)
treedb2d7dfb122269b6a9e8c3859093b07d9c16173b /Modules/FindBLAS.cmake
parent903a65ce0d22997c40769b1310216fa9b1241372 (diff)
downloadcmake-764696dcd055110276399a798ba336ab3e90706e.tar.gz
FindBLAS use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 29871c5fcd..b2df4ad1f2 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -208,6 +208,7 @@ macro(CHECK_BLAS_LIBRARIES LIBRARIES _prefix _name _flags _list _threadlibs _add
if(_libraries_work)
find_library(${_prefix}_${_library}_LIBRARY
NAMES ${_library}
+ NAMES_PER_DIR
PATHS ${_extaddlibdir}
PATH_SUFFIXES ${_subdirs}
)