]> https://gitweb.dealii.org/ - dealii.git/commitdiff
blacklist boost version 1.58
authorTimo Heister <timo.heister@gmail.com>
Thu, 4 Feb 2016 22:40:59 +0000 (17:40 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 4 Feb 2016 22:40:59 +0000 (17:40 -0500)
addresses #1591

cmake/modules/FindBOOST.cmake

index ebf3ef8e8162155eae653740dee5c651c25105ed..cd90be22cac893aab9e09325e975aeaa41fc4f14 100644 (file)
@@ -58,6 +58,21 @@ IF(NOT Boost_FOUND AND Boost_USE_STATIC_LIBS)
   LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/)
 ENDIF()
 
+
+#
+# Blacklist version 1.58 because we get serialization errors with it. At least
+# version 1.56 and 1.59 are known to work.
+#
+IF(Boost_FOUND)
+  IF("${Boost_MAJOR_VERSION}" STREQUAL "1" AND "${Boost_MINOR_VERSION}" STREQUAL "58")
+    MESSAGE("-- Boost version 1.58 is not compatible with deal.II!")
+    UNSET(Boost_FOUND)
+    UNSET(Boost_INCLUDE_DIRS)
+    UNSET(Boost_LIBRARIES)
+  ENDIF()
+ENDIF()
+
+
 IF(Boost_FOUND)
   #
   # Remove "pthread" from Boost_LIBRARIES. Threading, if necessary, is

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.