Skip to content

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.

3 participants