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/libbson/fix-static-cmake.patch | |
| 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/libbson/fix-static-cmake.patch')
| -rw-r--r-- | ports/libbson/fix-static-cmake.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libbson/fix-static-cmake.patch b/ports/libbson/fix-static-cmake.patch new file mode 100644 index 000000000..11e11dcba --- /dev/null +++ b/ports/libbson/fix-static-cmake.patch @@ -0,0 +1,13 @@ +diff --git a/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in b/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in +index 92933fe..d98ebd3 100644 +--- a/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in ++++ b/src/libbson/build/cmake/libbson-static-1.0-config.cmake.in +@@ -36,3 +36,7 @@ foreach (LIB @LIBBSON_LIBRARIES@) + endforeach () + + set (BSON_STATIC_DEFINITIONS BSON_STATIC) ++ ++set (BSON_LIBRARIES ${BSON_STATIC_LIBRARIES}) ++set (BSON_INCLUDE_DIRS ${BSON_STATIC_INCLUDE_DIRS}) ++set (BSON_DEFINITIONS BSON_STATIC) +\ No newline at end of file |
