mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CMake: just tell CMake to not find HTTP_Parser
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
parent
aa7f9a18f2
commit
9bbb6f785c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue