mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[mongo-cxx-driver] update to 4.0.0 (#42805)
This commit is contained in:
parent
faa3c0a405
commit
6eab0a7b21
@ -2,7 +2,7 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mongodb/mongo-cxx-driver
|
||||
REF "r${VERSION}"
|
||||
SHA512 620112ab91ad5fc0eb900b4b271cf40bac92ec728f0da2053dd42a80cc444910c3784f83c638b5aa1323cfa57308622b034b5c9275c4d2c92cbbbd7bb3eb1b08
|
||||
SHA512 7b6564cb5087b03886f3c99aa5da9e87a898b1bd1098393a7668e39d673d6203a39f7fa95e5bef995f5e53c18654ef1806823cf643a994a8c19a1df75b9eb306
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-dependencies.patch
|
||||
@ -10,20 +10,9 @@ vcpkg_from_github(
|
||||
|
||||
file(WRITE "${SOURCE_PATH}/build/VERSION_CURRENT" "${VERSION}")
|
||||
|
||||
# This port offered C++17 ABI alternative via features.
|
||||
# This was reduced to boost only.
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
boost BSONCXX_POLY_USE_BOOST
|
||||
INVERTED_FEATURES
|
||||
boost BSONCXX_POLY_USE_STD
|
||||
boost CMAKE_DISABLE_FIND_PACKAGE_Boost
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
"-DCMAKE_PROJECT_MONGO_CXX_DRIVER_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
|
||||
-DBSONCXX_HEADER_INSTALL_DIR=include
|
||||
-DENABLE_TESTS=OFF
|
||||
@ -31,7 +20,6 @@ vcpkg_cmake_configure(
|
||||
-DMONGOCXX_HEADER_INSTALL_DIR=include
|
||||
-DNEED_DOWNLOAD_C_DRIVER=OFF
|
||||
MAYBE_UNUSED_VARIABLES
|
||||
CMAKE_DISABLE_FIND_PACKAGE_Boost
|
||||
BSONCXX_HEADER_INSTALL_DIR
|
||||
MONGOCXX_HEADER_INSTALL_DIR
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mongo-cxx-driver",
|
||||
"version": "3.11.0",
|
||||
"version": "4.0.0",
|
||||
"description": "MongoDB C++ Driver.",
|
||||
"homepage": "https://github.com/mongodb/mongo-cxx-driver",
|
||||
"license": "Apache-2.0",
|
||||
@ -15,18 +15,5 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"boost": {
|
||||
"description": [
|
||||
"Enables the Boost C++17 polyfill for bsoncxx.",
|
||||
"Warning: This feature changes the ABI."
|
||||
],
|
||||
"dependencies": [
|
||||
"boost-optional",
|
||||
"boost-smart-ptr",
|
||||
"boost-utility"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
@ -1,14 +0,0 @@
|
||||
{
|
||||
"name": "vcpkg-ci-mongo-cxx-driver",
|
||||
"version-date": "2022-11-18",
|
||||
"description": "Ensures that the vcpkg CI build of mongo-cxx-driver includes feature boost",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "mongo-cxx-driver",
|
||||
"features": [
|
||||
"boost"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -6045,7 +6045,7 @@
|
||||
"port-version": 1
|
||||
},
|
||||
"mongo-cxx-driver": {
|
||||
"baseline": "3.11.0",
|
||||
"baseline": "4.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"mongoose": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6189b50c8af944ed1231b6e30672b49a1a988c85",
|
||||
"version": "4.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "7fb58e0dc8d80bb5e013c724129133d335d9ea8a",
|
||||
"version": "3.11.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user