Define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT

... to enable compiling with Boost v1.74.

refs #8185
This commit is contained in:
Alexander A. Klimov 2020-12-14 15:59:56 +01:00
parent b06ea2bef7
commit 34942a3511
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})