Skip to content

Commit c0fa60f

Browse files
committed
CXX-1429 Add documentation for BSONCXX_POLY_USE_SYSTEM_MNMLSTC
1 parent 1b83233 commit c0fa60f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/content/mongocxx-v3/installation.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,17 @@ configure option when building libbson/libmongoc.
5656

5757
### Step 2: Choose a C++17 polyfill
5858

59-
The mongocxx driver uses the experimental C++17 features
60-
`std::optional` and `std::string_view`. To compile
61-
the mongocxx driver, you must choose one of the following
62-
implementations for these features:
59+
The mongocxx driver uses the C++17 features `std::optional` and
60+
`std::string_view`. To compile the mongocxx driver for pre-C++17, you
61+
must choose one of the following implementations for these features:
6362

6463
MNMLSTC/core (*default for non-Windows platforms*)
65-
Select with `-DBSONCXX_POLY_USE_MNMLSTC=1`. This option vendors a
66-
header-only installation of MNMLSTC/core into the bsoncxx library
67-
installation. **NOTE**: this will download MLNMLSTC from
68-
GitHub during the build process.
64+
Select with `-DBSONCXX_POLY_USE_MNMLSTC=1`. **NOTE**: This option
65+
vendors a header-only installation of MNMLSTC/core into the bsoncxx
66+
library installation and will therefore download MLNMLSTC from GitHub
67+
during the build process. If you already have an available version of
68+
MNMLSTC on your system, you can avoid the download step by using
69+
`-DBSONCXX_POLY_USE_SYSTEM_MNMLSTC`.
6970

7071
Boost (*default for Windows platforms*)
7172
Select with `-DBSONCXX_POLY_USE_BOOST=1`. This is currently the

0 commit comments

Comments
 (0)