From b2c78fc2e891c684da737c36a4c41a2a3d1a062f Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 3 Sep 2014 23:57:24 +0200 Subject: [PATCH] Bugfix: step-53 requires enabled DEAL_II_WITH_ZLIB step-53 uses boost's in order to unpack the file topography.txt.gz. If the internal boost variant is used this requires external linkage to zlib. --- examples/step-53/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/step-53/CMakeLists.txt b/examples/step-53/CMakeLists.txt index 75c2b901f8..805e103a2d 100644 --- a/examples/step-53/CMakeLists.txt +++ b/examples/step-53/CMakeLists.txt @@ -34,6 +34,17 @@ IF(NOT ${deal.II_FOUND}) ) ENDIF() +# +# Are all dependencies fullfilled? +# +IF(NOT DEAL_II_WITH_ZLIB) + MESSAGE(FATAL_ERROR " +Error! The deal.II library found at ${DEAL_II_PATH} was not configured with + DEAL_II_WITH_ZLIB = ON +One or all of these are OFF in your installation but are required for this tutorial step." + ) +ENDIF() + DEAL_II_INITIALIZE_CACHED_VARIABLES() PROJECT(${TARGET}) DEAL_II_INVOKE_AUTOPILOT() -- 2.39.5