From 4c35d8ef48c0a8ae0531d640d5784c9e18d5f122 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Tue, 25 Feb 2020 21:49:48 +0100
Subject: [PATCH] Add missing linking dependencies

These dependencies are needed for shared libraries linkage
---
 tests/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index f4062e220..79892a849 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -25,6 +25,8 @@ add_executable (mpi_unit_tests
 target_link_libraries (unit_tests
   PugsUtils
   kokkos
+  ${PARMETIS_LIBRARIES}
+  ${MPI_CXX_LINK_FLAGS} ${MPI_CXX_LIBRARIES}
   Catch2
   )
 
-- 
GitLab