add test for accelerate framework

This commit is contained in:
Radovan Bast
2015-09-18 10:44:39 +02:00
parent d4596c6f95
commit c5057f8aee
8 changed files with 146 additions and 18 deletions

View File

@ -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")