mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 12:53:02 +08:00
[mongo-c-driver] no absolute paths (#21264)
This commit is contained in:
parent
fd49422216
commit
33dc2930b6
@ -114,10 +114,11 @@ endif()
|
||||
]]
|
||||
LIBMONGOC_CONFIG_CMAKE "${LIBMONGOC_CONFIG_CMAKE}")
|
||||
string(REPLACE [[PACKAGE_PREFIX_DIR]] [[_IMPORT_PREFIX]] LIBMONGOC_CONFIG_CMAKE "${LIBMONGOC_CONFIG_CMAKE}")
|
||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/libmongoc-1.0/libmongoc-1.0-config.cmake "${LIBMONGOC_CONFIG_CMAKE}")
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/libmongoc-1.0/libmongoc-1.0-config.cmake" "${LIBMONGOC_CONFIG_CMAKE}")
|
||||
|
||||
file(COPY "${SOURCE_PATH}/THIRD_PARTY_NOTICES" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/share/mongo-c-driver/uninstall.sh")
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mongo-c-driver",
|
||||
"version": "1.17.6",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Client library written in C for MongoDB.",
|
||||
"homepage": "https://github.com/mongodb/mongo-c-driver",
|
||||
"dependencies": [
|
||||
|
@ -4402,7 +4402,7 @@
|
||||
},
|
||||
"mongo-c-driver": {
|
||||
"baseline": "1.17.6",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"mongo-cxx-driver": {
|
||||
"baseline": "3.6.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0579545ecddc3bef7941e3caa19bda27c80323bc",
|
||||
"version": "1.17.6",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "1885ed4c6d71d255e97ef46bc1dd3b5353686845",
|
||||
"version": "1.17.6",
|
||||
|
Loading…
Reference in New Issue
Block a user