From: Matthias Maier Date: Wed, 3 Sep 2014 21:57:24 +0000 (+0200) Subject: Bugfix: step-53 requires enabled DEAL_II_WITH_ZLIB X-Git-Tag: v8.2.0-rc1~162^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c78fc2e891c684da737c36a4c41a2a3d1a062f;p=dealii.git 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. --- 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()