mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:49:00 +08:00
[libbson] Install THIRD_PARTY_NOTICES. Install PDBS.
This commit is contained in:
parent
4765c5853c
commit
629e034c38
@ -1,3 +1,3 @@
|
||||
Source: libbson
|
||||
Version: 1.5.1-1
|
||||
Version: 1.5.1-3
|
||||
Description: libbson is a library providing useful routines related to building, parsing, and iterating BSON documents.
|
@ -29,6 +29,8 @@ vcpkg_configure_cmake(
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# This rename is needed because the official examples expect to use #include <bson.h>
|
||||
# See Microsoft/vcpkg#904
|
||||
file(RENAME
|
||||
${CURRENT_PACKAGES_DIR}/include/libbson-1.0
|
||||
${CURRENT_PACKAGES_DIR}/temp)
|
||||
@ -53,4 +55,7 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
)
|
||||
endif()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libbson RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libbson RENAME copyright)
|
||||
file(COPY ${SOURCE_PATH}/THIRD_PARTY_NOTICES DESTINATION ${CURRENT_PACKAGES_DIR}/share/libbson)
|
||||
|
||||
vcpkg_copy_pdbs()
|
Loading…
Reference in New Issue
Block a user