Repository navigation
return prefix path in ament_index_has_resource - #155
Conversation
|
@dirk-thomas I tried this in our build and it trashed things pretty badly. I think someone somewhere is comparing the return value directly to TRUE, but I didn't dig in too deeply |
|
A little more info as I dig into this. . . Our build fails with: When I make this change |
|
Digging a little more - it looks like once I make this change, rmw Digging into the cmake docs a little, I think the rule that applies is Since the path to the resource is a value that is not a false constant, I'd expect it to evaluate to TRUE, but that's not how it's behaving. Maybe I'm mis-reading the docs |
|
I put some print statements into get_rmw_typesupport: With the proposed change: Without the proposed change: |
|
If get_rmw_typesupport.cmake did
instead of
Then this change works on my machine. I'd be a little worried about similar issues in other people's builds, though. |
Indeed, see ros2/rmw#165. |
|
Ready for review. |
Replaces #154.