From e863a1b73fcc727ce2fca8dbacfc1411e9644daf Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Thu, 4 May 2017 19:33:32 +0200 Subject: [PATCH] Add missing dependencies on spm for shared libraries --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc24ce1e..c82abae1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,11 @@ add_library(pastix_spm ${spm_sources} ) +target_link_libraries(pastix_spm + ${LAPACKE_LIBRARIES} + ${CBLAS_LIBRARIES} + ) + add_dependencies(pastix_spm spm_headers_tgt ) -- GitLab