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

Add FindSwiftlets.cmake #53

Merged
merged 2 commits into from
May 6, 2020
Merged

Add FindSwiftlets.cmake #53

merged 2 commits into from
May 6, 2020

Conversation

IsakTjernberg
Copy link
Contributor

No description provided.

@IsakTjernberg IsakTjernberg requested a review from woodfell May 6, 2020 09:00
option(pal_ENABLE_EXAMPLES "" OFF)
GenericFindDependency(
TARGET swiftlets
SOURCE_DIR swiftlets
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't strictly speaking required - GenericFindDependency searches a load of paths based on the target name to look for the submodule. It won't hurt to leave it there, it's just not required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left this here as it seems to be used by quite many other modules also.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's really only needed when the source code is in a directory with a different name from the target name, or when the source code is in a subdirectory in the submodule (like gnss-converters or libsbp). In this case the names as the same though

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.

2 participants