mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 11:19:01 +08:00
cd54580d1f
* Fixes source writes rather than using DISABLE_PARALLEL_CONFIGURE * Fixes to use modern vcpkg helpers. * Fixes to install to the correct include path rather than moving the resulting includes after the fact. * Remove do-nothign renames. * Fixes to make static cmake configs find the correct bits.
8 lines
322 B
Plaintext
8 lines
322 B
Plaintext
The package mongo-c-driver is compatible with built-in CMake targets:
|
|
|
|
find_package(libmongoc-1.0 CONFIG REQUIRED)
|
|
|
|
target_include_directories(main PRIVATE ${MONGOC_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${MONGOC_LIBRARIES})
|
|
target_compile_definitions(main PRIVATE ${MONGOC_DEFINITIONS})
|