diff --git a/CMakeLists.txt b/CMakeLists.txt index bc24ce1eac1835beb4d52ca885749ebd5ebdb2ef..c82abae11f66b013cae21df5d2398793c59f5a83 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 )