diff options
| -rw-r--r-- | ports/libbson/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libbson/portfile.cmake | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ports/libbson/CONTROL b/ports/libbson/CONTROL index 1bf86bf74..7ad8cb25b 100644 --- a/ports/libbson/CONTROL +++ b/ports/libbson/CONTROL @@ -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.
\ No newline at end of file diff --git a/ports/libbson/portfile.cmake b/ports/libbson/portfile.cmake index bcf66872d..1292dd9a3 100644 --- a/ports/libbson/portfile.cmake +++ b/ports/libbson/portfile.cmake @@ -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)
\ No newline at end of file +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()
\ No newline at end of file |
