Skip to content

Commit 5ba578a

Browse files
author
Ben Chatelain
committed
Fix libgit2 Mac build (again)
LIBSSH2_INCLUDE_DIR = /usr/local/include/
1 parent b0b011a commit 5ba578a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: script/update_libgit2

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ fi
2222
mkdir build
2323
cd build
2424

25-
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_CLAR:BOOL=OFF -DTHREADSAFE:BOOL=ON ..
25+
cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
26+
-DLIBSSH2_INCLUDE_DIR:PATH=/usr/local/include/ \
27+
-DBUILD_CLAR:BOOL=OFF \
28+
-DTHREADSAFE:BOOL=ON \
29+
..
2630
cmake --build .
2731

2832
product="libgit2.a"

0 commit comments

Comments
 (0)