Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions source/install-from-source.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ the project with both ``libbson`` and ``libmongoc``:

$ cmake -S $SOURCE -B $BUILD \
-D ENABLE_EXTRA_ALIGNMENT=OFF \
-D ENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D BUILD_VERSION="$VERSION" \
-D ENABLE_MONGOC=OFF
Expand All @@ -267,10 +266,10 @@ messages and information. Ensure that configuration succeeds before proceeding.
results. This should be set to the same value as the version of the source
driver that was downloaded in :ref:`get-src`.

The ``ENABLE_EXTRA_ALIGNMENT`` and ``ENABLE_AUTOMATIC_INIT_AND_CLEANUP`` are part
of ``mongo-c-driver``, and correspond to deprecated features that are only
The ``ENABLE_EXTRA_ALIGNMENT`` argument is part
of ``mongo-c-driver`` and corresponds to a deprecated feature that is only
enabled by default for ABI compatibility purposes. It is highly recommended to
disable these features whenever possible.
disable this feature whenever possible.

The ``ENABLE_MONGOC=OFF`` argument disabled building ``libmongoc``. We'll build
that in the next section.
Expand Down