mirror of https://github.com/davisking/dlib.git
Made the cmake file for finding blas more robust.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403899
This commit is contained in:
parent
6de61008c7
commit
d04d0b4b6d
|
@ -79,12 +79,13 @@ if (UNIX)
|
|||
|
||||
if (NOT blas_found)
|
||||
find_library(atlas_lib atlas)
|
||||
if (atlas_lib)
|
||||
set(blas_libraries ${atlas_lib})
|
||||
find_library(cblas_lib cblas)
|
||||
if (atlas_lib AND cblas_lib)
|
||||
set(blas_libraries ${atlas_lib} ${cblas_lib})
|
||||
set(blas_found 1)
|
||||
message(STATUS "Found ATLAS BLAS library")
|
||||
endif()
|
||||
mark_as_advanced( atlas_lib)
|
||||
mark_as_advanced( atlas_lib cblas_lib)
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue