Skip to content

Conversation

@jwaldrop107
Copy link
Contributor

Is this pull request associated with an issue(s)?
No

Description
Non-GitHub repositories (e.g. GitLab) are all treated as RemoteURLDependencys, which means they don't have a VERSION parameter. Given that the current implementation of RemoteURLDependency actually uses GIT_REPOSITORY (as opposed to URL) when passing along to FetchContent, it is more accurate to call it GitDependency. This PR changes the name accordingly and moves the VERSION parameter from GitHubDependency to the renamed class.

@ryanmrichard
Copy link
Collaborator

The integration tests are failing because they won't run from a fork. I'm going to suggest we merge this even with the failures.

@ryanmrichard ryanmrichard merged commit ca0f41e into CMakePP:master Jan 16, 2025
5 of 7 checks passed
@jwaldrop107 jwaldrop107 deleted the generic_git_dependency branch January 16, 2025 18:23
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