pineapple-src/externals/vcpkg/ports/mongo-c-driver/usage

10 lines
298 B
Text
Raw Normal View History

2022-07-23 01:01:36 +00:00
The package mongo-c-driver is compatible with built-in CMake targets:
find_package(mongoc-1.0 CONFIG REQUIRED)
target_link_libraries(main PRIVATE mongo::mongoc_shared)
or:
find_package(mongoc-1.0 CONFIG REQUIRED)
target_link_libraries(main PRIVATE mongo::mongoc_static)