File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ include(../../cmake/CPM.cmake)
1313
1414CPMAddPackage(
1515 NAME Boost
16- VERSION 1.84.0
17- URL https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.xz
18- URL_HASH SHA256=2e64e5d79a738d0fa6fb546c6e5c2bd28f88d268a2a080546f74e5ff98f29d0e
19- OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_INCLUDE_LIBRARIES container\\\; asio" # Note the escapes!
16+ VERSION 1.86.0 # Versions less than 1.85.0 may need patches for installation targets.
17+ URL https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-cmake.tar.xz
18+ URL_HASH SHA256=2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57
19+ OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_SKIP_INSTALL_RULES ON" # Set `OFF` for installation
20+ "BUILD_SHARED_LIBS OFF" "BOOST_INCLUDE_LIBRARIES container\\\; asio" # Note the escapes!
2021)
2122
23+ # `Boost::headers` is also valid
2224target_link_libraries (CPMExampleBoost PRIVATE Boost::asio Boost::container)
You can’t perform that action at this time.
0 commit comments