From 4f6f3868059b320613244b18fe5e0e8c641dd1ae Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Wed, 5 Oct 2011 11:30:41 +0000
Subject: [PATCH] MpNc: add CMakeLists.txt to the test

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6720 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 test/boxmodels/CMakeLists.txt      | 1 +
 test/boxmodels/MpNc/CMakeLists.txt | 8 +++-----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/test/boxmodels/CMakeLists.txt b/test/boxmodels/CMakeLists.txt
index 4b46945fbd..8a81339afe 100644
--- a/test/boxmodels/CMakeLists.txt
+++ b/test/boxmodels/CMakeLists.txt
@@ -7,5 +7,6 @@ add_subdirectory("2p")
 add_subdirectory("2pni")
 add_subdirectory("2p2c")
 add_subdirectory("2p2cni")
+add_subdirectory("MpNc")
 add_subdirectory("richards")
 
diff --git a/test/boxmodels/MpNc/CMakeLists.txt b/test/boxmodels/MpNc/CMakeLists.txt
index ad33076f53..33a2253f36 100644
--- a/test/boxmodels/MpNc/CMakeLists.txt
+++ b/test/boxmodels/MpNc/CMakeLists.txt
@@ -1,15 +1,13 @@
-add_definitions(-DYASPGRID -DENABLE_ALBERTA -DENABLE_ALUGRID -DENABLE_UG)
-
 # build target for the twophase-twocomponent test problem
-ADD_EXECUTABLE("test_2p2c" test_2p2c.cc)
-TARGET_LINK_LIBRARIES("test_2p2c" ${DumuxLinkLibraries})
+ADD_EXECUTABLE("test_MpNc" test_MpNc.cc)
+TARGET_LINK_LIBRARIES("test_MpNc" ${DumuxLinkLibraries})
 
 # add required libraries and includes to the build flags 
 LINK_DIRECTORIES(${DumuxLinkDirectories})
 INCLUDE_DIRECTORIES(${DumuxIncludeDirectories})
 
 # make sure the grids are present in the build directory
-add_custom_command(TARGET "test_2p2c"
+add_custom_command(TARGET "test_MpNc"
                    POST_BUILD
                    COMMAND ${CMAKE_COMMAND} -E
                         copy_directory 
-- 
GitLab