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

Reuse dependencies that have already been provided, and fetch dependencies from submodules #10

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

BlackMark29A
Copy link
Member

This PR changes the CMake config so that when dependencies have already been provided by the parent project either through find_package or add_subdirectory they are reused.
This should resolve the issue reported in #9.

Additionally this PR changes how libenvpp dependencies are fetched. Previously they were fetched from the respective repository through cmake's FetchContent, which has the disadvantage that an internet connection is required during the configure step. Now dependencies are fetched from submodules with FetchContent, which means that internet is only required during cloning.

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.

1 participant