pineapple-src/externals/vcpkg/ports/libbson/fix-include-directory.patch

14 lines
415 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/src/libbson/CMakeLists.txt b/src/libbson/CMakeLists.txt
index 0197af0..422b051 100644
--- a/src/libbson/CMakeLists.txt
+++ b/src/libbson/CMakeLists.txt
@@ -341,7 +341,7 @@ if (ENABLE_EXAMPLES)
endif () # ENABLE_EXAMPLES
set (BSON_HEADER_INSTALL_DIR
- "${CMAKE_INSTALL_INCLUDEDIR}/libbson-${BSON_API_VERSION}"
+ "${CMAKE_INSTALL_INCLUDEDIR}"
)
if (MONGOC_ENABLE_STATIC_INSTALL)