From 289f050f1c9f6ecd5d7fac5e8e4abf5743493705 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 22 Aug 2016 15:11:36 -0600 Subject: [PATCH] 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.) --- cmake/modules/FindBOOST.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.5