add test for accelerate framework
This commit is contained in:
@ -25,13 +25,8 @@ if(ENABLE_CBLAS)
|
||||
set(CBLAS_LIBRARIES "NOTFOUND")
|
||||
set(CBLAS_INCLUDE_DIR "NOTFOUND")
|
||||
|
||||
if(APPLE)
|
||||
_find_library(Accelerate cblas_dgemm CBLAS_LIBRARIES)
|
||||
_find_include_dir(Accelerate.h /usr CBLAS_INCLUDE_DIR)
|
||||
else()
|
||||
_find_library(cblas cblas_dgemm CBLAS_LIBRARIES)
|
||||
_find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR)
|
||||
endif()
|
||||
_find_library(cblas cblas_dgemm CBLAS_LIBRARIES)
|
||||
_find_include_dir(cblas.h /usr CBLAS_INCLUDE_DIR)
|
||||
|
||||
if(NOT "${CBLAS_LIBRARIES}" MATCHES "NOTFOUND")
|
||||
if(NOT "${CBLAS_INCLUDE_DIR}" MATCHES "NOTFOUND")
|
||||
|
Reference in New Issue
Block a user