-
Notifications
You must be signed in to change notification settings - Fork 0
[POS-51] Update the FindStarling modules #52
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
Conversation
| mark_target_as_system_includes(sensorfusion) | ||
| mark_target_as_system_includes(pvt_driver) | ||
| mark_target_as_system_includes(pvt-engine) | ||
| mark_target_as_system_includes(pvt-common) | ||
| mark_target_as_system_includes(starling-util) |
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.
should these check to make sure that the targets exists before marking them? if (TARGET sensorfusion) ... endif(), on the off chance that we might rename/remove some of these targets in the future.
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.
It looks like mark_target_as_system_includes will silently do nothing if the targets don't exist.
Are you thinking that we should be failing or giving a warning if the targets don't exist?
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.
I didn't expect that behaviour of the mark_target_as_system_includes function (sorry didn't dig to deep into it). I'd probably go with a warning, mostly because cmake is an external library library.
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.
my comment is really just a nit. I'll leave matt to approve the request since he knows this portion of the cmake work inside out. I don't see any isssues with this PR, I'm happy to approve.
This updates the
FindStarlingmodules to find the new interface library for the PVT engine.