pineapple/externals/vcpkg/ports/libbson/usage

10 lines
283 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
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)