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

Prevents build of test if gtest is not found. #500

Closed
wants to merge 1 commit into from

Conversation

nburek
Copy link

@nburek nburek commented Apr 23, 2019

While exploring upgrading ROS2 to Fast-RTPS I had build issues with the ROS2 build farm not being able to build the the develop branch of Fast-RTPS because it did not have GTest installed (see build results on this PR: ros2/rmw_fastrtps#272). This was not an issue with previous versions of Fast-RTPS and it looks like it is just because one of the CMakeLists.txt files is missing a guard against compiling the test when GTest is not installed on the system.

This pull request fixes this by adding the build time guard in the CMakeLists.txt file.

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Mac Build Status
  • Windows Build Status

@nburek
Copy link
Author

nburek commented Apr 24, 2019

I'm unable to see the test results to know why it's failing. If you can provide the information I can fix it.

@LuisGP
Copy link
Contributor

LuisGP commented Apr 24, 2019

Hi @nburek
There is already a PR (#490) fixing this issue.

Thank you very much.
Best regards.

@MiguelCompany
Copy link
Member

Closed as duplicate of already merged #490

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