From ed2b8006ead4fd7ac2443609b513ef251d648b85 Mon Sep 17 00:00:00 2001 From: Scott Bailey Date: Sat, 3 Aug 2024 09:38:59 -0500 Subject: [PATCH] Update to v1.85.0 --- examples/boost/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/boost/CMakeLists.txt b/examples/boost/CMakeLists.txt index afa1c46d..7a058f95 100644 --- a/examples/boost/CMakeLists.txt +++ b/examples/boost/CMakeLists.txt @@ -13,10 +13,12 @@ include(../../cmake/CPM.cmake) 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 - OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES container\\\;asio" # Note the escapes! + VERSION 1.85.0 # Versions less than 1.85.0 may need patches for installation targets. + URL https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0-cmake.tar.xz + URL_HASH SHA256=0a9cc56ceae46986f5f4d43fe0311d90cf6d2fa9028258a95cab49ffdacf92ad + OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_SKIP_INSTALL_RULES ON" # Set `OFF` for installation + "BUILD_SHARED_LIBS OFF" "BOOST_INCLUDE_LIBRARIES container\\\;asio" # Note the escapes! ) +# `Boost::headers` is also valid target_link_libraries(CPMExampleBoost PRIVATE Boost::asio Boost::container)