vcpkg/ports/libbson/usage
Jack·Boos·Yu 26577fd0ad
[libbson/mongo-c-driver] Update to 1.16.1 (#10010)
* [libbson/mongo-c-driver] Update to 1.16.1

* [libbson] Refix static build

* [mongo-c-driver] Re-fix dependency libbson and dynamic build

* [mongo-c-driver] Fix generate cmake file

* [mongo-cxx-driver] Fix find libbson

* [mongo-c-driver] Fix generate cmake file when building static

* [mongo-cxx-driver] Fix dependency mongo-c-driver

* update version info

* [mongo-c-driver] Update patch

* [mongo-c-driver] Re-generate patch.

* [mongo-c-driver] Re-generate patch
2020-05-01 12:43:06 -07:00

7 lines
305 B
Plaintext

The package libbson is compatible with built-in CMake targets:
find_package(libbson-1.0 CONFIG REQUIRED)
target_include_directories(main PRIVATE ${BSON_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${BSON_LIBRARIES})
target_compile_definitions(main PRIVATE ${BSON_DEFINITIONS})