Merge pull request #8191 from Icinga/bugfix/build-fails-with-boost-1-74-8185

Define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
This commit is contained in:
Alexander Aleksandrovič Klimov 2020-12-22 15:12:14 +01:00 committed by GitHub
commit 6145525482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,9 @@ add_definitions(-DBOOST_COROUTINES_NO_DEPRECATION_WARNING)
add_definitions(-DBOOST_FILESYSTEM_NO_DEPRECATED)
# Required for Boost v1.74+
add_definitions(-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT)
link_directories(${Boost_LIBRARY_DIRS})
include_directories(${Boost_INCLUDE_DIRS})