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

Need to check testing flag #38

Open
lericson opened this issue Oct 16, 2018 · 0 comments · May be fixed by #40
Open

Need to check testing flag #38

lericson opened this issue Oct 16, 2018 · 0 comments · May be fixed by #40

Comments

@lericson
Copy link

You have to wrap the _add_gtest stuff in a condition on testing. The Catkin error message otherwise is:

() is not available when tests are not enabled.  The CMake code should only
use it inside a conditional block which checks that testing is enabled:

if(CATKIN_ENABLE_TESTING)

  (...)

endif()
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 a pull request may close this issue.

1 participant