aboutsummaryrefslogtreecommitdiff
path: root/ports/libbson/fix-include-directory.patch
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-09-08 11:56:06 -0700
committerGitHub <noreply@github.com>2021-09-08 11:56:06 -0700
commitcd54580d1fe7c60cdf6e086a7d61c013648f1eff (patch)
treeb63ac4c9725ae877e49dd8f2c1a03cbee48e9a21 /ports/libbson/fix-include-directory.patch
parentbcf551b980380fe7f84fa302ad7ef3c184f9bf4f (diff)
downloadvcpkg-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/libbson/fix-include-directory.patch')
-rw-r--r--ports/libbson/fix-include-directory.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libbson/fix-include-directory.patch b/ports/libbson/fix-include-directory.patch
new file mode 100644
index 000000000..beead37bd
--- /dev/null
+++ b/ports/libbson/fix-include-directory.patch
@@ -0,0 +1,13 @@
+diff --git a/src/libbson/CMakeLists.txt b/src/libbson/CMakeLists.txt
+index d383424..cc633f6 100644
+--- a/src/libbson/CMakeLists.txt
++++ b/src/libbson/CMakeLists.txt
+@@ -326,7 +326,7 @@ if (ENABLE_EXAMPLES)
+ endif () # ENABLE_EXAMPLES
+
+ set (BSON_HEADER_INSTALL_DIR
+- "${CMAKE_INSTALL_INCLUDEDIR}/libbson-${BSON_API_VERSION}"
++ "${CMAKE_INSTALL_INCLUDEDIR}"
+ )
+
+ if (ENABLE_STATIC MATCHES "ON|AUTO")