From 82af909b9fc306a794efaf8c166a7272264f3133 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 21 Dec 2023 21:00:39 +0100 Subject: [PATCH] Prevent cmake-format from messing with the comment about BOOST_ASIO_DISABLE_CONCEPTS --- librepomgr/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librepomgr/CMakeLists.txt b/librepomgr/CMakeLists.txt index 8f421dd..9c06b54 100644 --- a/librepomgr/CMakeLists.txt +++ b/librepomgr/CMakeLists.txt @@ -168,12 +168,14 @@ add_reflection_generator_invocation( ERROR_RESILIENT) # disable Boost's support for concepts to avoid compile errors +# ~~~ # /usr/include/boost/asio/async_result.hpp:70:20: error: concept cannot have associated constraints # BOOST_ASIO_CONCEPT completion_handler_for = # ^ # /usr/include/boost/asio/async_result.hpp:492:20: error: concept cannot have associated constraints # BOOST_ASIO_CONCEPT completion_token_for = requires(T&& t) # ^ +# ~~~ list(APPEND META_PUBLIC_COMPILE_DEFINITIONS BOOST_ASIO_DISABLE_CONCEPTS) # include modules to apply configuration