]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Increase minimal BOOST version to 1.56.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 22 Aug 2016 21:11:36 +0000 (15:11 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 22 Aug 2016 21:11:36 +0000 (15:11 -0600)
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

index 862d49fa127f2c9beb98d2fbe21b51ffb1096fa6..10a592579241c6b79bf89303b414c9c28d4b9fc9 100644 (file)
@@ -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()
 

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.