From: Nabil Ghodbane Date: Mon, 4 Nov 2024 15:36:08 +0000 (+0100) Subject: Ensure that ShapeRecognition links against cblas X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f46a6b7cc045e8cda5670e46d7e091806f552fa3;p=tools%2Fmedcoupling.git Ensure that ShapeRecognition links against cblas --- 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}")