summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-19 15:32:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-08-19 15:32:23 +0100
commit4ac1167612936f92488b8e7430465a6d2bfef375 (patch)
treea05d0cc68b3d1e21611fc5734effee6a1ea5de3c /cmake
parent68aef8e708a99b976de1add56a41771e78cf6987 (diff)
downloadrspamd-4ac1167612936f92488b8e7430465a6d2bfef375.tar.gz
rspamd-4ac1167612936f92488b8e7430465a6d2bfef375.zip
[Minor] Link lapack as well
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Openblas.cmake5
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)