From 979b040cf8da7845e15bfd74d348187ffdca8287 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 7 Dec 2017 19:37:56 +0100
Subject: [PATCH] Add missing libraries and some target_link_libraries

---
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7d5b4c0..e98bbe58 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,9 +101,9 @@ add_dependencies(pastix_spm
 ### Generate the lib
 if (MPI_C_FOUND)
   set_target_properties(pastix_spm PROPERTIES COMPILE_FLAGS "${MPI_COMPILE_FLAGS}")
-target_link_libraries(pastix_spm
-  ${MPI_C_LIBRARIES}
-  )
+  target_link_libraries(pastix_spm
+    ${MPI_C_LIBRARIES}
+    )
 endif (MPI_C_FOUND)
 
 install(TARGETS pastix_spm
-- 
GitLab