Skip to content

Commit b2be9b7

Browse files
committed
[CMake] Update to Boost 1.79
Signed-off-by: AeroStun <[email protected]>
1 parent e388ab1 commit b2be9b7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

CMake/Modules/SetupBoost.cmake

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,26 @@ set (BOOST_ENABLE_CMAKE True)
2222

2323
if (DEFINED BOOST_SOURCE_ROOT)
2424
set (boost_SOURCE_DIR "${BOOST_SOURCE_ROOT}")
25+
set (boost_BINARY_DIR "${PROJECT_BINARY_DIR}/ext-boost")
2526
else ()
2627
include (FetchContent)
2728
# Can't reasonably default to Git until https://gitlab.kitware.com/cmake/cmake/-/issues/16144 is fixed
2829
if (NOT BOOST_SOURCE_USE_GIT)
2930
if (NOT WIN32)
3031
FetchContent_Declare (Boost
31-
URL "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.gz"
32-
URL_HASH SHA256=94ced8b72956591c4775ae2207a9763d3600b30d9d7446562c552f0a14a63be7
32+
URL "https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.gz"
33+
URL_HASH SHA256=273f1be93238a068aba4f9735a4a2b003019af067b9c183ed227780b8f36062c
3334
)
3435
else ()
3536
FetchContent_Declare (Boost
36-
URL "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.7z"
37-
URL_HASH SHA256=090cefea470bca990fa3f3ed793d865389426915b37a2a3258524a7258f0790c
37+
URL "https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.7z"
38+
URL_HASH SHA256=6c97cf4f4a0eb00ed776c88065ab3f59e183fa5e65f6464ff94f92328352d9d6
3839
)
3940
endif ()
4041
else ()
4142
FetchContent_Declare (Boost
4243
GIT_REPOSITORY "https://github.com/boostorg/boost"
43-
GIT_TAG "boost-1.78.0"
44+
GIT_TAG "boost-1.79.0"
4445
GIT_SHALLOW On
4546
GIT_PROGRESS On
4647
)
@@ -51,7 +52,7 @@ else ()
5152
FetchContent_Populate (Boost)
5253

5354
if (NOT EXISTS "${boost_SOURCE_DIR}/CMakeLists.txt")
54-
file (DOWNLOAD "https://github.com/boostorg/boost/raw/boost-1.78.0/CMakeLists.txt" "${boost_SOURCE_DIR}/CMakeLists.txt")
55+
file (DOWNLOAD "https://github.com/boostorg/boost/raw/boost-1.79.0/CMakeLists.txt" "${boost_SOURCE_DIR}/CMakeLists.txt")
5556
endif ()
5657
message ("Download complete")
5758
endif ()

0 commit comments

Comments
 (0)