diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Openblas.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Openblas.cmake b/cmake/Openblas.cmake index 1907ccd21..69f065d8f 100644 --- a/cmake/Openblas.cmake +++ b/cmake/Openblas.cmake @@ -6,6 +6,11 @@ IF(ENABLE_BLAS MATCHES "ON") include/blas ROOT ${BLAS_ROOT_DIR} LIB_OUTPUT BLAS_REQUIRED_LIBRARIES) + ProcessPackage(BLAS_LAPACK OPTIONAL_INCLUDE LIBRARY lapack + INCLUDE cblas.h INCLUDE_SUFFIXES include/openblas + include/blas + ROOT ${BLAS_ROOT_DIR} + LIB_OUTPUT BLAS_REQUIRED_LIBRARIES) ENDIF() IF(WITH_BLAS) |