From 08f8f940fe92cf4bb8126f017dbe3084185cc975 Mon Sep 17 00:00:00 2001 From: Lisa Julia Nebel <lisa_julia.nebel@tu-dresden.de> Date: Mon, 26 Oct 2020 15:22:55 +0100 Subject: [PATCH] Only compile film-on-substrate when dune-curvedgeometry is found --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f03e9b5f..ada92305 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,7 @@ set(programs compute-disc-error rod3d) # rodobstacle) -if (dune-parmg_FOUND AND ${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.8) +if (dune-parmg_FOUND AND dune-curvedgeometry_FOUND AND ${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.8) set(programs film-on-substrate ${programs}) endif() foreach(_program ${programs}) -- GitLab