diff --git a/script/update_libgit2 b/script/update_libgit2 index 8f654a1cc..0f795bc1f 100755 --- a/script/update_libgit2 +++ b/script/update_libgit2 @@ -23,7 +23,7 @@ mkdir build cd build cmake -DBUILD_SHARED_LIBS:BOOL=OFF \ - -DLIBSSH2_INCLUDE_DIR:PATH=/usr/local/include/ \ + -DLIBSSH2_INCLUDE_DIRS:PATH=/usr/local/include/ \ -DBUILD_CLAR:BOOL=OFF \ -DTHREADSAFE:BOOL=ON \ .. diff --git a/script/update_libgit2_ios b/script/update_libgit2_ios index 77674a146..071b69a59 100755 --- a/script/update_libgit2_ios +++ b/script/update_libgit2_ios @@ -47,7 +47,7 @@ function build_libgit2 () -DBUILD_SHARED_LIBS:BOOL=OFF \ -DOPENSSL_INCLUDE_DIR:PATH=../../External/ios-openssl/include/ \ -DCMAKE_LIBRARY_PATH:PATH=../../External/libssh2-ios/lib/ \ - -DLIBSSH2_INCLUDE_DIR:PATH=../../External/libssh2-ios/include/libssh2/ \ + -DLIBSSH2_INCLUDE_DIRS:PATH=../../External/libssh2-ios/include/libssh2/ \ -DOPENSSL_SSL_LIBRARY:FILEPATH=../../External/ios-openssl/lib/libssl.a \ -DCMAKE_LIBRARY_PATH:PATH="${SDKROOT}/usr/lib/" \ -DOPENSSL_CRYPTO_LIBRARY:FILEPATH=../../External/ios-openssl/lib/libcrypto.a \