From: Wolfgang Bangerth Date: Mon, 22 Aug 2016 21:11:36 +0000 (-0600) Subject: Increase minimal BOOST version to 1.56. X-Git-Tag: v8.5.0-rc1~745^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289f050f1c9f6ecd5d7fac5e8e4abf5743493705;p=dealii.git Increase minimal BOOST version to 1.56. This is necessary because the previous minimum, 1.54, did not support serializing std::unique_ptr for those users who have this old a BOOST version but want to use C++11 anyway. (It does support serializing the boost::scoped_ptr class that we use as a fall-back in non-C++11 mode when using std_cxx11::unique_ptr.) --- diff --git a/cmake/modules/FindBOOST.cmake b/cmake/modules/FindBOOST.cmake index 862d49fa12..10a5925792 100644 --- a/cmake/modules/FindBOOST.cmake +++ b/cmake/modules/FindBOOST.cmake @@ -43,7 +43,7 @@ ENDIF() # temporarily disable ${CMAKE_SOURCE_DIR}/cmake/modules for module lookup LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) -FIND_PACKAGE(Boost 1.54 COMPONENTS +FIND_PACKAGE(Boost 1.56 COMPONENTS iostreams serialization system thread ) LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) @@ -56,7 +56,7 @@ IF(NOT Boost_FOUND AND Boost_USE_STATIC_LIBS) # temporarily disable ${CMAKE_SOURCE_DIR}/cmake/modules for module lookup LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) - FIND_PACKAGE(Boost 1.54 COMPONENTS iostreams serialization system thread) + FIND_PACKAGE(Boost 1.56 COMPONENTS iostreams serialization system thread) LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) ENDIF()