From 777134c03af8bf8a850cf6f1fd4f48faafb0577d Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel <lisa_julia.nebel@tu-dresden.de> Date: Wed, 7 Oct 2020 14:42:30 +0200 Subject: [PATCH] Only compile geodesicfeassemblerwrappertest if the version of dune-elasticity is greater or equal 2.7 --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7f452954..e1952d1a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -26,11 +26,12 @@ dune_add_test(SOURCES harmonicmaptest.cc TIMEOUT 600 CMAKE_GUARD MPI_FOUND) -# Run distributed tests +if (${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.7) dune_add_test(SOURCES geodesicfeassemblerwrappertest.cc MPI_RANKS 1 4 TIMEOUT 600 CMAKE_GUARD MPI_FOUND) +endif() # Copy the example grid used for testing into the build dir file(COPY grids/irregular-square.msh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/grids) -- GitLab