pineapple/externals/vcpkg/ports/libbson/usage
2022-07-23 03:01:36 +02:00

9 lines
283 B
Text
Executable file

The package libbson is compatible with built-in CMake targets:
find_package(bson-1.0 CONFIG REQUIRED)
target_link_libraries(main PRIVATE mongo::bson_static)
or:
find_package(bson-1.0 CONFIG REQUIRED)
target_link_libraries(main PRIVATE mongo::bson_shared)