Skip to content

Conversation

@Honeybunch
Copy link

Trying to use the experimental sha256 feature via vcpkg I ran into this issue: #7199

So here I've made a small modification to the cmake script so that all header files in the include directory are updated to point at git2-experimental/. The target's install interface had to be modified so that it uses the unmodified include/ headers from the source tree to build but points the installed target to the modified, installed headers.

I verified that this worked by creating a custom vcpkg port and overriding our usage of libgit2 to point to this change. It built and installed without incident and our tool can now properly interact with sha256 repos as expected.

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