summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-03-31 20:33:17 +0200
committerCasey Bodley <cbodley@redhat.com>2023-10-20 15:18:30 +0200
commit05c341b30deab327444eac464e24a840dae25083 (patch)
tree12d5860d64491c8a29e45017c551d25ecd067ba5 /CMakeLists.txt
parentcmake: fix Finduring.cmake (diff)
downloadceph-05c341b30deab327444eac464e24a840dae25083.tar.xz
ceph-05c341b30deab327444eac464e24a840dae25083.zip
cmake: define BOOST_ASIO_HAS_IO_URING for WITH_LIBURING
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28c9209c557..f5ea2c49b9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -263,6 +263,8 @@ if(WITH_LIBURING)
include(Builduring)
build_uring()
endif()
+ # enable uring in boost::asio
+ add_compile_definitions("BOOST_ASIO_HAS_IO_URING")
endif()
CMAKE_DEPENDENT_OPTION(WITH_BLUESTORE_PMEM "Enable PMDK libraries" OFF