From 9bbb6f785ca480c639439acb32bdcbff62c438ae Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 4 Mar 2019 18:50:19 +0100 Subject: CMake: just tell CMake to not find HTTP_Parser Signed-off-by: Rolf Eike Beer --- packaging/android/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/android/build.sh') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 8e0c410ea..6f2ae8e1f 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -287,7 +287,6 @@ if [ "$QUICK" = "" ] ; then "${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . libgit2 if [ ! -e "$PKG_CONFIG_LIBDIR/libgit2.pc" ] ; then # We don't want to find the HTTP_Parser package of the build host by mistake - perl -pi -e 's/FIND_PACKAGE\(HTTP_Parser\)/#FIND_PACKAGE(HTTP_Parser)/' libgit2/CMakeLists.txt mkdir -p libgit2-build-"$ARCH" pushd libgit2-build-"$ARCH" cmake \ @@ -301,6 +300,7 @@ if [ "$QUICK" = "" ] ; then -DOPENSSL_CRYPTO_LIBRARY="$PREFIX"/lib/libcrypto.so \ -DOPENSSL_INCLUDE_DIR="$PREFIX"/include/openssl \ -D_OPENSSL_VERSION="${OPENSSL_VERSION}" \ + -DCMAKE_DISABLE_FIND_PACKAGE_HTTP_Parser=TRUE \ ../libgit2/ make make install -- cgit v1.2.3-70-g09d2