mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 19:49:01 +08:00
24 lines
480 B
Diff
24 lines
480 B
Diff
diff --git a/build/cmake/FindBSON.cmake b/build/cmake/FindBSON.cmake
|
|
index 06fd82e..3ac549d 100644
|
|
--- a/build/cmake/FindBSON.cmake
|
|
+++ b/build/cmake/FindBSON.cmake
|
|
@@ -11,15 +11,15 @@ endif ()
|
|
|
|
find_path(BSON_INCLUDE_DIR
|
|
NAMES
|
|
- libbson-1.0/bson.h
|
|
+ bson.h
|
|
HINTS
|
|
${BSON_ROOT_DIR}
|
|
PATH_SUFFIXES
|
|
include
|
|
+ libbson-1.0
|
|
+ include/libbson-1.0
|
|
)
|
|
|
|
-set(BSON_INCLUDE_DIR "${BSON_INCLUDE_DIR}/libbson-1.0")
|
|
-
|
|
find_library(BSON
|
|
NAMES
|
|
"bson-1.0"
|