-
Notifications
You must be signed in to change notification settings - Fork 280
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
Fix gtest_source_paths #1088
Fix gtest_source_paths #1088
Conversation
Since googletest_path is /usr/src/googletest, it resulted in /usr/src/googletest/googletest/googletest/src
Can you please clarify what issue you are seeing without this patch? And also provide reproducible steps for it. |
Sure... Prerequisites
Reproduction Steps
ExplanationThe error means After the fix |
Can you please be a bit more specific. What source packages do you have installed / not installed? Do you have |
I'm not sure what you mean, but I have
Nope, nothing special is done. I just created an empty project with catkin_add_gtest
|
I was referring to |
Oh, sorry, |
But not (Which is a declared dependency: Line 35 in 0022fb0
|
Both |
If you have Lines 236 to 237 in 0022fb0
Lines 240 to 241 in 0022fb0
|
What does the variable |
I think I understand now why it fails on Bionic but still works on Focal. On Bionic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 and especially to-be-backport to Melodic.
And googletest contains only PS: |
Thanks for the patch. |
Cherry-picked to |
Since googletest_path is /usr/src/googletest, it resulted in /usr/src/googletest/googletest/googletest/src
Since googletest_path is /usr/src/googletest, it resulted in /usr/src/googletest/googletest/googletest/src
Please, check if the fix is correct. For my Ubuntu18 it is.
And sorry, if I added the bugfix in wrong place (I don't know, maybe it should go to earlier branch..?).