From a25db1f9e0cbc55f3141df9e0db955e1510583c2 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 22 Feb 2022 00:08:21 +0100 Subject: [PATCH] Log usage of `io_uring` --- librepomgr/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/librepomgr/CMakeLists.txt b/librepomgr/CMakeLists.txt index cd56cd5..aadb31e 100644 --- a/librepomgr/CMakeLists.txt +++ b/librepomgr/CMakeLists.txt @@ -93,6 +93,7 @@ use_package(TARGET_NAME Boost::filesystem PACKAGE_NAME Boost PACKAGE_ARGS "${BOO use_package(TARGET_NAME Boost::iostreams PACKAGE_NAME Boost PACKAGE_ARGS "${BOOST_ARGS}") option(BOOST_ASIO_IO_URING ON "enable use of io_uring") if (BOOST_ASIO_IO_URING) + message(STATUS "Using io_uring") list(APPEND META_PUBLIC_COMPILE_DEFINITIONS BOOST_ASIO_HAS_IO_URING BOOST_ASIO_DISABLE_EPOLL) use_pkg_config_module(PKG_CONFIG_MODULES "liburing" VISIBILITY PUBLIC) endif ()