From 4ac1167612936f92488b8e7430465a6d2bfef375 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 19 Aug 2020 15:32:23 +0100 Subject: [Minor] Link lapack as well --- cmake/Openblas.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmake') 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) -- cgit v1.2.3