From 1e67ba8c2347f61c1611b3ff34fdf839c295c611 Mon Sep 17 00:00:00 2001 From: "Maarten L. Hekkelman" Date: Sat, 31 Jan 2026 09:09:07 +0100 Subject: [PATCH] Use boost 1.90 on windows --- python-module/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-module/CMakeLists.txt b/python-module/CMakeLists.txt index fc42658..7f76990 100644 --- a/python-module/CMakeLists.txt +++ b/python-module/CMakeLists.txt @@ -34,9 +34,9 @@ if(NOT EXISTS ${Python_LIBRARIES}) message(FATAL_ERROR "The python library ${Python_LIBRARIES} does not seem to exist?") endif() -# Boost 1.84 is required since it contains code required to use numpy 2.x +# Boost 1.86 is required since it contains code required to use numpy 2.x if(NOT WIN32) # On Windows we need to build boost ourselves, to find the correct python lib - find_package(Boost 1.84 QUIET COMPONENTS python) + find_package(Boost 1.86 QUIET COMPONENTS python) endif() if(WIN32 OR NOT Boost_FOUND) @@ -44,9 +44,9 @@ if(WIN32 OR NOT Boost_FOUND) # from github is much faster than recursively cloning the repo. CPMAddPackage( NAME Boost - VERSION 1.84.0 - URL https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.xz - URL_HASH SHA256=2e64e5d79a738d0fa6fb546c6e5c2bd28f88d268a2a080546f74e5ff98f29d0e + VERSION 1.90.0 + URL https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2 + URL_HASH SHA256=49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305 OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES python" @@ -84,4 +84,4 @@ if(WIN32) install(TARGETS mkdssp_module RUNTIME DESTINATION "${Python_SITELIB}") else() install(TARGETS mkdssp_module LIBRARY DESTINATION "${Python_SITELIB}") -endif() \ No newline at end of file +endif()