Skip to content

Boost versions >=1.70 compile fixes

Mateusz Tyszczak requested to merge build-with-boost-1-74 into develop
  • Changed from deprecated Boost_VERSION (in number format) to Boost_VERSION_MACRO
  • Added a check if Boost_VERSION_MACRO is not set. If true then set it to the Boost_VERSION value
  • Set CMake CMP0057 policy introduced in CMake version 3.3 to NEW to support IN_LIST if() operator that is used by the newest versions of the FindBoost 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

Merge request reports