mongodb - CMake Error: The source directory ".../code/mongo-cxx-driver" does not appear to contain CMakeLists.txt -
i'm following mongodb c++ driver quickstart guide: https://github.com/mongodb/mongo-cxx-driver/wiki/quickstart-guide-(new-driver)
i'm in mongo-cxx-driver
directory , when run:
cmake -dcmake_build_type=release -dcmake_install_prefix=/usr/local ..
i following error:
cmake error: source directory "/users/waley/code/mongo-cxx-driver" not appear contain cmakelists.txt."
is can fix?
when in mongo-cxx-driver
should enter folder build
, execute cmake command there. that's stated in webpage referring to.
Comments
Post a Comment