From 01acc84f668d7a82b01130b0497ecf4855857dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <christoph.grueninger@iws.uni-stuttgart.de> Date: Thu, 26 Nov 2015 17:51:27 +0100 Subject: [PATCH] [CMake] Use MPI_FOUND instead of MPI_CXX_FOUND For binary compatibility, Dune only uses the C bindings of MPI. MPI_FOUND is deprecated from CMake but Dune does defines it and encourage its use. (reviewed by timok) --- test/porousmediumflow/richards/implicit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/porousmediumflow/richards/implicit/CMakeLists.txt b/test/porousmediumflow/richards/implicit/CMakeLists.txt index 1cd38853f7..acccce030c 100644 --- a/test/porousmediumflow/richards/implicit/CMakeLists.txt +++ b/test/porousmediumflow/richards/implicit/CMakeLists.txt @@ -1,6 +1,6 @@ add_input_file_links() -if(MPI_CXX_FOUND) +if(MPI_FOUND) add_dumux_test(test_boxrichards test_boxrichards test_boxrichards.cc python ${CMAKE_SOURCE_DIR}/bin/runtest.py --script fuzzy -- GitLab