diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-05-02 03:43:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-01 12:43:06 -0700 |
| commit | 26577fd0adf785cb09654b436a6cd4cca5bd42f7 (patch) | |
| tree | 7a67401edcafefcfe8540855ed149af1226c71cf /ports/mongo-c-driver/usage | |
| parent | ef50d66690df4712495039e68054269d705c14b4 (diff) | |
| download | vcpkg-26577fd0adf785cb09654b436a6cd4cca5bd42f7.tar.gz vcpkg-26577fd0adf785cb09654b436a6cd4cca5bd42f7.zip | |
[libbson/mongo-c-driver] Update to 1.16.1 (#10010)
* [libbson/mongo-c-driver] Update to 1.16.1
* [libbson] Refix static build
* [mongo-c-driver] Re-fix dependency libbson and dynamic build
* [mongo-c-driver] Fix generate cmake file
* [mongo-cxx-driver] Fix find libbson
* [mongo-c-driver] Fix generate cmake file when building static
* [mongo-cxx-driver] Fix dependency mongo-c-driver
* update version info
* [mongo-c-driver] Update patch
* [mongo-c-driver] Re-generate patch.
* [mongo-c-driver] Re-generate patch
Diffstat (limited to 'ports/mongo-c-driver/usage')
| -rw-r--r-- | ports/mongo-c-driver/usage | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ports/mongo-c-driver/usage b/ports/mongo-c-driver/usage index 80595cd07..6fee3c684 100644 --- a/ports/mongo-c-driver/usage +++ b/ports/mongo-c-driver/usage @@ -1,9 +1,7 @@ The package mongo-c-driver is compatible with built-in CMake targets:
find_package(mongo-c-driver CONFIG REQUIRED)
- target_include_directories(${project} PRIVATE ${MONGOC_INCLUDE_DIRS})
-For use dynamic library:
- target_link_libraries(${project} PRIVATE ${MONGOC_LIBRARIES})
-For use static library:
- target_link_libraries(${project} PRIVATE ${MONGOC_STATIC_LIBRARY})
+ target_include_directories(main PRIVATE ${MONGOC_INCLUDE_DIRS})
+ target_link_libraries(main PRIVATE ${MONGOC_LIBRARIES})
+ target_compile_definitions(main PRIVATE ${MONGOC_DEFINITIONS})
|
