Skip to content

Commit 21b0416

Browse files
committed
CXX-1498 Upgrade to C Driver 1.10
1 parent ab6dd61 commit 21b0416

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/content/mongocxx-v3/installation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ have problems, please file a bug report via
3737

3838
The mongocxx driver builds on top of the MongoDB C driver.
3939

40+
* For mongocxx-3.3.x, libmongoc 1.10.0 or later is required.
4041
* For mongocxx-3.2.x, libmongoc 1.9.2 or later is required.
4142
* For mongocxx-3.1.[0-3], libmongoc 1.5.0 or later is required.
4243
* For mongocxx-3.1.4+, libmongoc 1.7.0 or later is required.

src/bsoncxx/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ set(BSONCXX_VERSION ${BSONCXX_VERSION_NO_EXTRA}${BSONCXX_VERSION_EXTRA})
7474
set(BSONCXX_INLINE_NAMESPACE "v${BSONCXX_ABI_VERSION}")
7575
set(BSONCXX_HEADER_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/bsoncxx/${BSONCXX_INLINE_NAMESPACE}" CACHE INTERNAL "")
7676

77-
# TODO: CXX-1498 require C driver 1.10
78-
set(LIBBSON_REQUIRED_VERSION 1.9.5)
77+
set(LIBBSON_REQUIRED_VERSION 1.10.0)
7978
set(LIBBSON_REQUIRED_ABI_VERSION 1.0)
8079

8180
if (BUILD_SHARED_LIBS)

src/mongocxx/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ set(MONGOCXX_VERSION ${MONGOCXX_VERSION_NO_EXTRA}${MONGOCXX_VERSION_EXTRA})
3030
set(MONGOCXX_INLINE_NAMESPACE "v${MONGOCXX_ABI_VERSION}")
3131
set(MONGOCXX_HEADER_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/mongocxx/${MONGOCXX_INLINE_NAMESPACE}" CACHE INTERNAL "")
3232

33-
# TODO: CXX-1498 require C driver 1.10
34-
set(LIBMONGOC_REQUIRED_VERSION 1.9.5)
33+
set(LIBMONGOC_REQUIRED_VERSION 1.10.0)
3534
set(LIBMONGOC_REQUIRED_ABI_VERSION 1.0)
3635

3736
if (BUILD_SHARED_LIBS)

0 commit comments

Comments
 (0)