From: Casey Bodley Date: Mon, 25 Jan 2021 18:08:35 +0000 (-0500) Subject: cmake: boost>=1.74 adds BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT to radosgw X-Git-Tag: v15.2.10~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39885%2Fhead;p=ceph.git cmake: boost>=1.74 adds BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT to radosgw Fixes: https://tracker.ceph.com/issues/48988 Signed-off-by: Casey Bodley (cherry picked from commit 722b4303b1986ce93744af5baeecde7681d8e347) --- diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt index 22583b8af64..757152740f5 100644 --- a/src/rgw/CMakeLists.txt +++ b/src/rgw/CMakeLists.txt @@ -1,3 +1,7 @@ +if(Boost_VERSION VERSION_GREATER_EQUAL 1.74) + add_definitions(-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT) +endif() + add_custom_target(civetweb_h COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/src/include/civetweb"