mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-01 23:38:23 -05:00
10 lines
298 B
Plaintext
Executable File
10 lines
298 B
Plaintext
Executable File
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)
|