9 lines
283 B
Text
Executable file
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)
|