diff --git a/README.md b/README.md index 4a079f2fc..91e0dd1ee 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,10 @@ file in your project. ``` MSVC users must also define the macro `BOOST_JSON_NO_LIB` to disable -auto-linking. +auto-linking. Note, that if you also want to avoid linking to Boost.Container, +which is a dependency of Boost.JSON, you have to define +`BOOST_CONTAINER_NO_LIB`. In order to disable auto-linking to Boost libraries +completely you can define `BOOST_ALL_NO_LIB` instead. ### Embedded diff --git a/doc/qbk/overview.qbk b/doc/qbk/overview.qbk index ac7f5ef0e..4ef002919 100644 --- a/doc/qbk/overview.qbk +++ b/doc/qbk/overview.qbk @@ -87,7 +87,10 @@ file in your project. ``` MSVC users must also define the macro `BOOST_JSON_NO_LIB` to disable -auto-linking. +auto-linking. Note, that if you also want to avoid linking to Boost.Container, +which is a dependency of Boost.JSON, you have to define +`BOOST_CONTAINER_NO_LIB`. In order to disable auto-linking to Boost libraries +completely you can define `BOOST_ALL_NO_LIB` instead. [heading Disabling Exceptions]