]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: Bump boost version to 1.72
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 22 Oct 2020 18:04:53 +0000 (14:04 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 23 Oct 2020 01:39:50 +0000 (21:39 -0400)
This gives us s390 support for Boost.Context.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
CMakeLists.txt

index 994f86888f4181cdcd7f381791333f36c85e8b9c..660aa27eb56e401a593b1ac72c33b8389d8f473e 100644 (file)
@@ -593,7 +593,7 @@ if(WITH_SYSTEM_BOOST)
   if(BOOST_ROOT AND CMAKE_LIBRARY_ARCHITECTURE)
     set(BOOST_LIBRARYDIR "${BOOST_ROOT}/lib/${CMAKE_LIBRARY_ARCHITECTURE}")
   endif()
-  find_package(Boost 1.67 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
+  find_package(Boost 1.72 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
   if(NOT ENABLE_SHARED)
     set_property(TARGET Boost::iostreams APPEND PROPERTY
       INTERFACE_LINK_LIBRARIES ZLIB::ZLIB)
@@ -603,7 +603,7 @@ else()
     "max jobs for Boost build") # override w/-DBOOST_J=<n>
   set(Boost_USE_STATIC_LIBS ON)
   include(BuildBoost)
-  build_boost(1.67
+  build_boost(1.72
     COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
 endif()
 include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})