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_LAPACKE)
set(LAPACKE_LIBRARIES "NOTFOUND")
set(LAPACKE_INCLUDE_DIR "NOTFOUND")
# if(APPLE)
# _find_library(Accelerate cblas_dgemm LAPACKE_LIBRARIES)
# _find_include_dir(Accelerate.h /usr LAPACKE_INCLUDE_DIR)
# else()
_find_library(lapacke LAPACKE_dgesv LAPACKE_LIBRARIES)
_find_include_dir(lapacke.h /usr LAPACKE_INCLUDE_DIR)
# endif()
_find_library(lapacke LAPACKE_dgesv LAPACKE_LIBRARIES)
_find_include_dir(lapacke.h /usr LAPACKE_INCLUDE_DIR)
if(NOT "${LAPACKE_LIBRARIES}" MATCHES "NOTFOUND")
if(NOT "${LAPACKE_INCLUDE_DIR}" MATCHES "NOTFOUND")