Find Apple versions of Blas and Lapack in macOS

This commit is contained in:
Carles Fernandez 2019-02-10 01:14:09 +01:00
parent ce051e040f
commit f4c1fc8b67
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 3 additions and 0 deletions

View File

@ -1121,6 +1121,9 @@ endif()
# Check that BLAS (Basic Linear Algebra Subprograms) is found in the system
# See http://www.netlib.org/blas/
#############################################################################
if(OS_IS_MACOSX)
set(BLA_VENDOR "Apple")
endif()
find_library(BLAS blas)
if(NOT BLAS)
message(" The BLAS library has not been found.")