试图在Windows 7上cmake mongodb C驱动程序并收到此错误:
D:\db\mongodb\mongo-cxx-driver-master\build>cmake ..
-- No build type selected, default is Release
-- Auto-configuring bsoncxx to use boost std library polyfills since C++17 is in
active and compiler is MSVC
CMake Error at src/bsoncxx/CMakeLists.txt:81 (find_package):
By not providing "Findlibbson-1.0.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"libbson-1.0", but CMake did not find one.
Could not find a package configuration file provided by "libbson-1.0"
(requested version 1.10.0) with any of the following names:
libbson-1.0Config.cmake
libbson-1.0-config.cmake
Add the installation prefix of "libbson-1.0" to CMAKE_PREFIX_PATH or set
"libbson-1.0_DIR" to a directory containing one of the above files. If
"libbson-1.0" provides a separate development package or SDK, be sure it
has been installed.
libbson已安装
不知道我应该在哪里设置libbson目录