Skip to content

Commit

Permalink
[mongo-cxx-driver] update to 3.10.1 (microsoft#37025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheney-W authored Mar 16, 2024
1 parent 8d3649b commit ddea3c3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 31 deletions.
9 changes: 0 additions & 9 deletions ports/mongo-cxx-driver/libbsoncxx-config.cmake

This file was deleted.

9 changes: 0 additions & 9 deletions ports/mongo-cxx-driver/libmongocxx-config.cmake

This file was deleted.

13 changes: 2 additions & 11 deletions ports/mongo-cxx-driver/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mongodb/mongo-cxx-driver
REF "r${VERSION}"
SHA512 34ff303d496dd2c9b8cada16dc215c40fddccfe660bdc7fe59c92449861876b820c3ea4e3e5c91029e0322411bbe98a11cb1f3fa046b028d92d3c9a3509ce988
SHA512 cc09ccbb926b1f00ebd9ead5afda150d0d8a8619c2439f8a9bc01a1f49ebfc0cee91ca2019d97a883a469a8594961b5b74fcc06525dce38461e2003a9f1894c4
HEAD_REF master
PATCHES
fix-dependencies.patch
Expand Down Expand Up @@ -38,16 +38,7 @@ vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()

vcpkg_cmake_config_fixup(PACKAGE_NAME "bsoncxx" CONFIG_PATH "lib/cmake/bsoncxx-${VERSION}" DO_NOT_DELETE_PARENT_CONFIG_PATH)
vcpkg_cmake_config_fixup(PACKAGE_NAME "mongocxx" CONFIG_PATH "lib/cmake/mongocxx-${VERSION}" DO_NOT_DELETE_PARENT_CONFIG_PATH)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_cmake_config_fixup(PACKAGE_NAME "libbsoncxx-static" CONFIG_PATH "lib/cmake/libbsoncxx-static-${VERSION}" DO_NOT_DELETE_PARENT_CONFIG_PATH)
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/libbsoncxx-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libbsoncxx")
vcpkg_cmake_config_fixup(PACKAGE_NAME "libmongocxx-static" CONFIG_PATH "lib/cmake/libmongocxx-static-${VERSION}")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/libmongocxx-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libmongocxx")
else()
vcpkg_cmake_config_fixup(PACKAGE_NAME "libbsoncxx" CONFIG_PATH "lib/cmake/libbsoncxx-${VERSION}" DO_NOT_DELETE_PARENT_CONFIG_PATH)
vcpkg_cmake_config_fixup(PACKAGE_NAME "libmongocxx" CONFIG_PATH "lib/cmake/libmongocxx-${VERSION}")
endif()
vcpkg_cmake_config_fixup(PACKAGE_NAME "mongocxx" CONFIG_PATH "lib/cmake/mongocxx-${VERSION}")

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
Expand Down
2 changes: 1 addition & 1 deletion ports/mongo-cxx-driver/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongo-cxx-driver",
"version": "3.9.0",
"version": "3.10.1",
"description": "MongoDB C++ Driver.",
"homepage": "https://github.com/mongodb/mongo-cxx-driver",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5781,7 +5781,7 @@
"port-version": 0
},
"mongo-cxx-driver": {
"baseline": "3.9.0",
"baseline": "3.10.1",
"port-version": 0
},
"mongoose": {
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mongo-cxx-driver.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1cb201479398cab55eb19e2010472c4f35b1fa50",
"version": "3.10.1",
"port-version": 0
},
{
"git-tree": "9682855a28fdd67511a8b454e361f4a7841584a8",
"version": "3.9.0",
Expand Down

0 comments on commit ddea3c3

Please sign in to comment.