diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-03 04:14:43 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-08 20:50:05 +0100 |
commit | a0c47e0fbcacf3c14d624897f35350087c45578e (patch) | |
tree | c034e29e6b1268c9026202f7b1ce4e32f744c515 /packaging/ios | |
parent | 3265efcd96d185df35c4cec61a97687377fb4ab2 (diff) | |
download | subsurface-a0c47e0fbcacf3c14d624897f35350087c45578e.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios')
-rwxr-xr-x | packaging/ios/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |