Skip to content

Commit

Permalink
[win32] Downgrade Boost to 1.77.0
Browse files Browse the repository at this point in the history
Boost.Stacktrace is not included in 1.78.0 binaries, hopefully this gets resolved
in the next release

See:
- boostorg/stacktrace#119
- bfgroup/b2#104
  • Loading branch information
gergondet committed Feb 18, 2022
1 parent 61ffae6 commit 860bc2b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cmake/win32-dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ if(NOT ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
message(FATAL_ERROR "Only 64 bits builds are currently supported by this tool")
endif()

set(BOOST_VERSION "1.78.0")
set(BOOST_VERSION "1.77.0")
string(REPLACE "." "_" BOOST_VERSION_ "${BOOST_VERSION}")
if(${MSVC_TOOLSET_VERSION} EQUAL 141) # VS 2017
set(MSVC_TOOLSET_VERSION_DOT "14.1")
set(BOOST_BINARIES_SHA256 0b52fe1b7bc93aadcfec5d0a94fb2bf3f881e6995601188355343b951e26175b)
elseif(${MSVC_TOOLSET_VERSION} EQUAL 142) # VS 2019
set(BOOST_BINARIES_SHA256 0dec1fb76276c3c0400609223ac60448122c75b398ddff60732c450c4fc729ff)
#FIXME 1.77.0 does not come with 14.3 version, we bet on 14.2 version working
elseif(${MSVC_TOOLSET_VERSION} EQUAL 142 OR ${MSVC_TOOLSET_VERSION} EQUAL 143) # VS 2019 or VS2022
set(MSVC_TOOLSET_VERSION_DOT "14.2")
set(BOOST_BINARIES_SHA256 719817954ab82aba4458f55ccaee02df9ad15dc3e082f882eed626ba0c38b5cf)
elseif(${MSVC_TOOLSET_VERSION} EQUAL 143) # VS 2019
set(MSVC_TOOLSET_VERSION_DOT "14.3")
set(BOOST_BINARIES_SHA256 b8911c98c2a95faa516aca354872b0ea63962a437382822aaf7bca95f528db65)
set(BOOST_BINARIES_SHA256 8cf6bb866ff83922b19a7418e94bc1fce87cae0dea6077624e44de3c6e27505a)
else()
if(${MSVC_TOOLSET_VERSION} LESS 141)
message(FATAL_ERROR "Your version of Visual Studio is too old. Upgrade to VS 2017 or later.")
Expand Down

0 comments on commit 860bc2b

Please sign in to comment.