Skip to content

Commit fd67e2b

Browse files
author
Ben Chatelain
committed
Fix libgit2 (Mac) build
1 parent b817e13 commit fd67e2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

script/update_libgit2

Lines changed: 5 additions & 1 deletion
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=../../External/libssh2-ios/include/libssh2/ \
27+
-DBUILD_CLAR:BOOL=OFF \
28+
-DTHREADSAFE:BOOL=ON \
29+
..
2630
cmake --build .
2731

2832
product="libgit2.a"

0 commit comments

Comments
 (0)