Prevent cmake-format from messing with the comment about BOOST_ASIO_DISABLE_CONCEPTS
This commit is contained in:
parent
4e141f7a04
commit
82af909b9f
|
@ -168,12 +168,14 @@ add_reflection_generator_invocation(
|
||||||
ERROR_RESILIENT)
|
ERROR_RESILIENT)
|
||||||
|
|
||||||
# disable Boost's support for concepts to avoid compile errors
|
# 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
|
# /usr/include/boost/asio/async_result.hpp:70:20: error: concept cannot have associated constraints
|
||||||
# BOOST_ASIO_CONCEPT completion_handler_for =
|
# BOOST_ASIO_CONCEPT completion_handler_for =
|
||||||
# ^
|
# ^
|
||||||
# /usr/include/boost/asio/async_result.hpp:492:20: error: concept cannot have associated constraints
|
# /usr/include/boost/asio/async_result.hpp:492:20: error: concept cannot have associated constraints
|
||||||
# BOOST_ASIO_CONCEPT completion_token_for = requires(T&& t)
|
# BOOST_ASIO_CONCEPT completion_token_for = requires(T&& t)
|
||||||
# ^
|
# ^
|
||||||
|
# ~~~
|
||||||
list(APPEND META_PUBLIC_COMPILE_DEFINITIONS BOOST_ASIO_DISABLE_CONCEPTS)
|
list(APPEND META_PUBLIC_COMPILE_DEFINITIONS BOOST_ASIO_DISABLE_CONCEPTS)
|
||||||
|
|
||||||
# include modules to apply configuration
|
# include modules to apply configuration
|
||||||
|
|
Loading…
Reference in New Issue