mirror of https://github.com/davisking/dlib.git
Updated the BLAS cmake file so that it works on more platforms.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403286
This commit is contained in:
parent
e97df82bd4
commit
899a3c63e3
|
@ -55,6 +55,17 @@ if (UNIX)
|
|||
|
||||
# try to find some other BLAS libraries if we didn't find the MKL
|
||||
|
||||
if (NOT blas_found)
|
||||
find_library(cblas_lib cblas)
|
||||
if (cblas_lib)
|
||||
set(blas_libraries ${cblas_lib})
|
||||
set(blas_found 1)
|
||||
message(STATUS "Found CBLAS library")
|
||||
endif()
|
||||
mark_as_advanced( cblas_lib)
|
||||
endif()
|
||||
|
||||
|
||||
if (NOT blas_found)
|
||||
find_library(atlas_lib atlas)
|
||||
if (atlas_lib)
|
||||
|
|
Loading…
Reference in New Issue