]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: step-53 requires enabled DEAL_II_WITH_ZLIB 132/head
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 3 Sep 2014 21:57:24 +0000 (23:57 +0200)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 3 Sep 2014 21:57:24 +0000 (23:57 +0200)
step-53 uses boost's <iostreams/filter/gzip.hpp> 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

index 75c2b901f8e8e02b1f150e2ca490a8acc42e925b..805e103a2d9e1085488f2dc9a15650ba12579fc1 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.