blob: 1a694a1bfb2cd63545e98cae47b7555a84ec4510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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..90eb16f 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
@@ -27,7 +27,7 @@ set_and_check (BSON_STATIC_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIRS@")
# directory and the base name, but not the suffix, so we use CMake's
# find_library () to pick that up. Users can override this by configuring
# BSON_STATIC_LIBRARY themselves.
-find_library (BSON_STATIC_LIBRARY bson-static-1.0 PATHS "@PACKAGE_LIBRARY_INSTALL_DIRS@" NO_DEFAULT_PATH)
+find_library (BSON_STATIC_LIBRARY bson-1.0 PATHS "@PACKAGE_LIBRARY_INSTALL_DIRS@" NO_DEFAULT_PATH)
set (BSON_STATIC_LIBRARIES ${BSON_STATIC_LIBRARY})
|