From 6d286e863d7e58054e8a820d987d006b80fcdec7 Mon Sep 17 00:00:00 2001
From: Patrick Jaap <patrick.jaap@tu-dresden.de>
Date: Tue, 7 Dec 2021 14:14:21 +0100
Subject: [PATCH] Drop linear-elasticity

It depends on Amiramesh which is dropped in dune-grid since 2.8
---
 CHANGELOG.md       | 8 +++++++-
 src/CMakeLists.txt | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f893330..3d4d920 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,10 @@
-# Master (will become release 2.8)
+# Master (will become release 2.9)
+
+## Deprecations and removals
+
+- The support of `Amiramesh` is dropped in dune-grid and thus the program `linear-elasticity` is removed from CMakeLists.txt
+
+# 2.8 Release
 
 - Introduce class `LocalDensity` for material-specific implementations
 - Introduce class `LocalIntegralEnergy` to work with the densities
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f444351..205e982 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,8 +1,8 @@
 # Note: PYTHONLIBS_FOUND is only for backwards compatibility with dune-fufem 2.7 and can be removed
 #       in the next release
 if(ADOLC_FOUND AND IPOPT_FOUND AND ( Python3_FOUND OR PYTHONLIBS_FOUND )  AND dune-uggrid_FOUND)
-  set(programs linear-elasticity
-               finite-strain-elasticity)
+  set(programs finite-strain-elasticity)
+              #linear-elasticity depends on Amiramesh which is dropped since DUNE 2.8
 
   foreach(_program ${programs})
     add_executable(${_program} ${_program}.cc)
-- 
GitLab