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

Use system mongocxx client if possible #207

Merged
merged 1 commit into from
Nov 24, 2017

Conversation

furushchev
Copy link
Collaborator

This pull request is for fix the issue #204.
In this pull request, I mainly fixed CMakeLists.txt of libmongocxx_ros to use system mongocxx client if it is found in system region or download and compile from source otherwise.
In current situation, system mongocxx is used on ubuntu 14.04 and downloaded mongocxx is used on ubuntu 16.04.

@strands-jenkins
Copy link
Contributor

Can one of the STRANDS admins verify this patch? Post a comment containing "ok to test" to enable Jenkins builds for this pull request.

@furushchev
Copy link
Collaborator Author

Any feedback is very welcome! @hawesie

CC: @k-okada

@hawesie
Copy link
Member

hawesie commented Oct 30, 2017

Looks good to me.

@hawesie
Copy link
Member

hawesie commented Oct 30, 2017

@marc-hanheide want to check?

${PROJECT_SOURCE_DIR}/include/mongo
${CATKIN_DEVEL_PREFIX}/include/mongo)
else()
message(STATUS "Not Found System MongoClient. Downloading...")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you assuming this is kinetic situation?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k-okada Yes. In indigo (=ubuntu14.04) system mongoclient library is used, in kinetic (=ubuntu16.04) mongoclient is downloaded and compiled from source.

@hawesie hawesie merged commit c4c9599 into strands-project:kinetic-devel Nov 24, 2017
@furushchev furushchev deleted the fix-mongocxx branch November 26, 2017 01:39
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

Successfully merging this pull request may close these issues.

4 participants