vcpkg/ports/libbson/fix-include-directory.patch
Billy O'Neal cd54580d1f
[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.
2021-09-08 11:56:06 -07:00

14 lines
418 B
Diff

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")