diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fd054daf..360b2976e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,7 +208,8 @@ if (WIN32) else() find_package(Boost 1.71.0 COMPONENTS coroutine system date_time program_options filesystem timer REQUIRED ) endif() - +add_definitions("-DBOOST_BIND_GLOBAL_PLACEHOLDERS") # To suppress messages in later versions of boost, in version 1.76.0 there are internal conflicts in boost +add_definitions("-DBOOST_ALLOW_DEPRECATED_HEADERS") # To suppress messages in later versions of boost, in version 1.76.0 there are internal conflicts in boost if (NOT DEFINED Boost_VERSION_STRING) set(Boost_VERSION_STRING "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}") endif()