commit 4ac1167: [Minor] Link lapack as well

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Aug 19 14:35:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-08-19 15:32:23 +0100
URL: https://github.com/rspamd/rspamd/commit/4ac1167612936f92488b8e7430465a6d2bfef375 (HEAD -> master)

[Minor] Link lapack as well

---
 cmake/Openblas.cmake | 5 +++++
 1 file changed, 5 insertions(+)

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)


More information about the Commits mailing list