From 05c341b30deab327444eac464e24a840dae25083 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 31 Mar 2023 14:33:17 -0400 Subject: cmake: define BOOST_ASIO_HAS_IO_URING for WITH_LIBURING Signed-off-by: Casey Bodley --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3