mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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>
This commit is contained in:
parent
3265efcd96
commit
a0c47e0fbc
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,8 @@ for ARCH in $ARCHS; do
|
||||||
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
|
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
|
||||||
-DCMAKE_PREFIX_PATH=${PREFIX} \
|
-DCMAKE_PREFIX_PATH=${PREFIX} \
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE \
|
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE \
|
||||||
|
-DENABLE_OPENSSL=FALSE \
|
||||||
|
-DENABLE_GNUTLS=FALSE \
|
||||||
${SSRF_CLONE}/libzip
|
${SSRF_CLONE}/libzip
|
||||||
# quiet the super noise warnings
|
# 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
|
sed -i.bak 's/C_FLAGS = /C_FLAGS = -Wno-nullability-completeness -Wno-expansion-to-defined /' lib/CMakeFiles/zip.dir/flags.make
|
||||||
|
|
Loading…
Reference in a new issue