diff options
| author | Billy O'Neal <bion@microsoft.com> | 2021-09-08 11:56:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-08 11:56:06 -0700 |
| commit | cd54580d1fe7c60cdf6e086a7d61c013648f1eff (patch) | |
| tree | b63ac4c9725ae877e49dd8f2c1a03cbee48e9a21 /ports/mongo-c-driver/usage | |
| parent | bcf551b980380fe7f84fa302ad7ef3c184f9bf4f (diff) | |
| download | vcpkg-cd54580d1fe7c60cdf6e086a7d61c013648f1eff.tar.gz vcpkg-cd54580d1fe7c60cdf6e086a7d61c013648f1eff.zip | |
[libbson, mongo-c-driver] Convert to vcpkg.json. (#20039)
* 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.
Diffstat (limited to 'ports/mongo-c-driver/usage')
| -rw-r--r-- | ports/mongo-c-driver/usage | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ports/mongo-c-driver/usage b/ports/mongo-c-driver/usage index d3347960e..561dc7ac8 100644 --- a/ports/mongo-c-driver/usage +++ b/ports/mongo-c-driver/usage @@ -1,7 +1,7 @@ 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})
+
+ 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})
|
