Commit 14e4bc52 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add netlib refblas possible lib names to look for in FindBLAS.cmake

parent f8cf79d6
...@@ -1028,16 +1028,20 @@ endif (BLA_VENDOR STREQUAL "NAS" OR BLA_VENDOR STREQUAL "All") ...@@ -1028,16 +1028,20 @@ endif (BLA_VENDOR STREQUAL "NAS" OR BLA_VENDOR STREQUAL "All")
# Generic BLAS library? # Generic BLAS library?
if (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "All") if (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "All")
if(NOT BLAS_LIBRARIES) set(BLAS_SEARCH_LIBS "blas;blas_LINUX;blas_MAC;blas_WINDOWS")
check_fortran_libraries( foreach (SEARCH_LIB ${BLAS_SEARCH_LIBS})
BLAS_LIBRARIES if (BLAS_LIBRARIES)
BLAS else ()
sgemm check_fortran_libraries(
"" BLAS_LIBRARIES
"blas" BLAS
"" sgemm
) ""
endif() "${SEARCH_LIB}"
""
)
endif()
endforeach ()
endif (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "All") endif (BLA_VENDOR STREQUAL "Generic" OR BLA_VENDOR STREQUAL "All")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment