From a0c47e0fbcacf3c14d624897f35350087c45578e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 3 Nov 2019 04:14:43 -0800 Subject: iOS: explicitly disable open source SSL implementations Those aren't allowed on iOS and adding these two flags removes some confusing warnings that look like errors in the build log. Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/ios') diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 0d955ebc7..f7998f197 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -160,6 +160,8 @@ for ARCH in $ARCHS; do -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DCMAKE_PREFIX_PATH=${PREFIX} \ -DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE \ + -DENABLE_OPENSSL=FALSE \ + -DENABLE_GNUTLS=FALSE \ ${SSRF_CLONE}/libzip # quiet the super noise warnings sed -i.bak 's/C_FLAGS = /C_FLAGS = -Wno-nullability-completeness -Wno-expansion-to-defined /' lib/CMakeFiles/zip.dir/flags.make -- cgit v1.2.3-70-g09d2