Skip to content

Commit 63d3b1a

Browse files
committed
fix command error in windows libgit setup
1 parent 67b3142 commit 63d3b1a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

LIBGIT_NOTES.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Make sure you have the following applications installed on your system
1313
- [cygwin](https://www.cygwin.com/) with the following packages
1414
- [make](https://cygwin.com/packages/summary/make.html)
1515
- [pkg-config](https://cygwin.com/packages/summary/pkg-config.html)
16+
- [libssh2-devel](https://cygwin.com/packages/summary/libssh2-devel.html)
1617
- [zlib](https://cygwin.com/packages/summary/zlib.html) (optional)
1718

1819
_After setting up cygwin, add cygwin /bin folder to the **path** environment variable_
@@ -43,10 +44,10 @@ cd <FOLDER WHERE LIBGIT2 IS AVAILABLE>
4344

4445
mkdir build && cd build
4546

46-
cmake -DCMAKE_INSTALL_PREFIX=../install && \
47-
-DCMAKE_FIND_ROOT_PATH=../lib && \
48-
-DOPENSSL_SSL_LIBRARY=../lib/win/lib && \
49-
-DOPENSSL_CRYPTO_LIBRARY=../lib/win/lib && \
47+
cmake -DCMAKE_INSTALL_PREFIX=../install \
48+
-DCMAKE_FIND_ROOT_PATH=../lib \
49+
-DOPENSSL_SSL_LIBRARY=../lib/win/lib \
50+
-DOPENSSL_CRYPTO_LIBRARY=../lib/win/lib \
5051
-DEMBED_SSH_PATH=../libssh2 ..
5152

5253
# If the above command completes without any error, execute the following command

0 commit comments

Comments
 (0)