[libbson] Install THIRD_PARTY_NOTICES. Install PDBS.

This commit is contained in:
Robert Schumacher 2017-04-06 10:24:38 -07:00
parent 4765c5853c
commit 629e034c38
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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()