From 02094f648c8efc1ac29d60684dfb0a3f5acf7a94 Mon Sep 17 00:00:00 2001 From: Simon Lo Date: Mon, 12 Feb 2024 15:13:08 +0000 Subject: [PATCH] Update Dependencies.md Correct boost version to 1.83.0 --- Documents/Dependencies.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documents/Dependencies.md b/Documents/Dependencies.md index 24b8a746..03ba71d1 100644 --- a/Documents/Dependencies.md +++ b/Documents/Dependencies.md @@ -152,8 +152,8 @@ If using Conan, this section can be skipped. - Set ``Boost_USE_STATIC_LIBS`` (BOOL) to ``1`` (true) - If CMake cannot find it automatically, set hints for [finding Boost](https://cmake.org/cmake/help/latest/module/FindBoost.html), for example: - *Either* set ``Boost_DIR`` (PATH) to the location of the installed BoostConfig.cmake (since Boost 1.70.0) - - *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *````*``/boost_1_80_0`` - and *````*``/boost_1_80_0/x64/lib`` respectively to match the suggested ``b2`` command + - *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *````*``/boost_1_83_0`` + and *````*``/boost_1_83_0/x64/lib`` respectively to match the suggested ``b2`` command - Due to interactions with other dependencies, it may also be necessary to explicitly set ``WERROR`` (BOOL) to ``0`` so that compiler warnings are not treated as errors - To speed up the build by omitting the C++ REST SDK sample apps and test suite, set ``BUILD_SAMPLES`` and ``BUILD_TESTS`` (BOOL) to ``0`` (false) 3. Use CMake to generate build/project files, and then build *and* install @@ -172,8 +172,8 @@ cmake .. ^ -DCPPREST_EXCLUDE_COMPRESSION:BOOL="1" ^ -DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" ^ -DBoost_USE_STATIC_LIBS:BOOL="1" ^ - -DBOOST_INCLUDEDIR:PATH="/boost_1_80_0" ^ - -DBOOST_LIBRARYDIR:PATH="/boost_1_80_0/x64/lib" ^ + -DBOOST_INCLUDEDIR:PATH="/boost_1_83_0" ^ + -DBOOST_LIBRARYDIR:PATH="/boost_1_83_0/x64/lib" ^ -DWERROR:BOOL="0" ^ -DBUILD_SAMPLES:BOOL="0" ^ -DBUILD_TESTS:BOOL="0"