From 2dcf03b0d271491ee15a97785f6ded219e8ddc6b Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Mon, 2 Sep 2013 16:34:27 +0000
Subject: [PATCH] for whatever reason, the 2pdfm test needs to have the MPI
 libraries added explicitly

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11346 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/implicit/2pdfm/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/implicit/2pdfm/CMakeLists.txt b/test/implicit/2pdfm/CMakeLists.txt
index c869f99874..337bf662ec 100644
--- a/test/implicit/2pdfm/CMakeLists.txt
+++ b/test/implicit/2pdfm/CMakeLists.txt
@@ -20,5 +20,5 @@ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   PROPERTY TEST_INCLUDE_FILE ${CMAKE_CURRENT_BINARY_DIR}/BuildTests.cmake)
 
 foreach(_exe ${ALLTESTS})
-  target_link_libraries(${_exe} ${DUNE_LIBS})
+  target_link_libraries(${_exe} ${DUNE_LIBS}  ${MPI_LIBRARIES})
 endforeach(_exe ${ALLTESTS})
-- 
GitLab