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