mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 08:58:59 +08:00
26577fd0ad
* [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
8 lines
313 B
Plaintext
8 lines
313 B
Plaintext
The package mongo-c-driver is compatible with built-in CMake targets:
|
|
|
|
find_package(mongo-c-driver CONFIG REQUIRED)
|
|
|
|
target_include_directories(main PRIVATE ${MONGOC_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${MONGOC_LIBRARIES})
|
|
target_compile_definitions(main PRIVATE ${MONGOC_DEFINITIONS})
|