From f46a6b7cc045e8cda5670e46d7e091806f552fa3 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 4 Nov 2024 16:36:08 +0100 Subject: [PATCH] Ensure that ShapeRecognition links against cblas --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2edb8383..70b858006 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,7 +218,7 @@ IF(UNIX) ENDIF(LAPACK_ROOT_DIR) FIND_PACKAGE(LAPACK REQUIRED) FIND_LIBRARY(LAPACKE_LIB NAMES lapacke REQUIRED) - SET(LAPACK_LIBRARIES ${LAPACKE_LIB} ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES}) + SET(LAPACK_LIBRARIES ${LAPACKE_LIB} ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES} ${CBLAS_LIBRARIES}) FIND_PATH(LAPACKE_INCLUDE_DIRS NAMES lapacke.h HINTS ${LAPACK_LIBRARIES}) IF(LAPACK_FOUND) MESSAGE(STATUS "Lapacke libraries: ${LAPACK_LIBRARIES}") -- 2.39.2