Boost versions >=1.70 compile fixes
- Changed from deprecated
Boost_VERSION
(in number format) toBoost_VERSION_MACRO
- Added a check if
Boost_VERSION_MACRO
is not set. If true then set it to theBoost_VERSION
value - Set CMake CMP0057 policy introduced in CMake version 3.3 to
NEW
to supportIN_LIST
if()
operator that is used by the newest versions of theFindBoost
module - Changed size of aligned array in tcp_socket due to the change of size of
boost::asio::ip::tcp::socket
in Boost versions >=1.70 - new custom I/O executor support to I/O objects was added in this version