cmake: Use Boost repo instead of archive

should fix #4724
This commit is contained in:
Mizux Seiha
2025-07-15 10:09:38 +02:00
parent 3aea3a8656
commit c19897df1b

View File

@@ -306,10 +306,10 @@ if(BUILD_Boost)
list(APPEND CMAKE_MESSAGE_INDENT " ")
FetchContent_Declare(
Boost
URL
https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-cmake.tar.gz
USES_TERMINAL_DOWNLOAD TRUE
DOWNLOAD_NO_EXTRACT FALSE
GIT_REPOSITORY "https://github.com/boostorg/boost.git"
GIT_TAG "boost-1.87.0"
GIT_SHALLOW TRUE
GIT_SUBMODULES_RECURSE TRUE
PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/boost-1.87.0.patch"
)
set(BOOST_INCLUDE_LIBRARIES multiprecision serialization)