Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No FindBSON.cmake found #38

Open
amigo421 opened this issue Mar 12, 2018 · 2 comments
Open

No FindBSON.cmake found #38

amigo421 opened this issue Mar 12, 2018 · 2 comments

Comments

@amigo421
Copy link

amigo421 commented Mar 12, 2018

issue is still there for me ,

tried on two systems (mac and ubuntu), but there is really no such files to search.
from the description of the issue #36 :
"The source folder for the mongocxx driver has a folder called "cmake" which contains FindLibBSON.cmake and FindLibMongoC.cmake files"
but really this folder doesn't contain cmake subfolder
https://github.com/mongodb/mongo-cxx-driver/tree/master/src

there are subfolder inside, but these ones aso don't contain FindBSON.cmake

@christomaliyekkal
Copy link

@amigo421 were you able to solve this? I am also facing this issue

@amigo421
Copy link
Author

amigo421 commented Dec 29, 2018

it's related with a mistake in cmake script,
mongo-c-driver sets ${BSON_INCLUDE_DIRS} variable,
but mangrove tries to look for includes using ${LIBBSON_INCLUDE_DIRS}
need to fix this in mangrove cmakelists.txt , you can raise pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants