]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: boost>=1.74 adds BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT to radosgw 39065/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 25 Jan 2021 18:08:35 +0000 (13:08 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Jan 2021 18:24:37 +0000 (13:24 -0500)
Fixes: https://tracker.ceph.com/issues/48988
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt

index 1b8cb81b8f2c182d3f58b3343140bc4af653b4d5..12b42e4077f5af7a2cc35e39c2a7402dfb8ca8d8 100644 (file)
@@ -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"