luagit2
luagit2 copied to clipboard
Fails to build if libgit2 is not installed into standard location (/usr/include)
I needed to rebuild luagit, because Ubuntu libgit2 packages are now at v0.19, but luagit is not yet compatible with this version (the changes from v0.17 to v0.19 seemed too important to just hack luagit without more understanding).
So I compiled libgit2 v0.17, but installed it into /usr/local, but I encountered build errors.
My solution was to add the following line: set(CFLAGS ${GIT2_CFLAGS})
There might be a better way, and that is the reason I am opening this issue.