Gittyup icon indicating copy to clipboard operation
Gittyup copied to clipboard

Cmake install installs unrelated binaries

Open alerque opened this issue 3 weeks ago • 2 comments

The libgit2 vendoring for 2.0.0 is even more messed up than it has been in the past. As of now using cmake --install after a normal build process results in /usr/bin/git2 being installed, a binary that belongs to libgit2 and should never be installed by an app that just happen to use a vendored library.

alerque avatar Dec 01 '25 10:12 alerque

Thanks for pointing this issue.

Murmele avatar Dec 01 '25 15:12 Murmele

option(BUILD_CLI "Build the command-line interface" ON)

is default ON for libgit2. It must be disabled

Murmele avatar Dec 02 '25 10:12 Murmele