1
mirror of https://github.com/R2Northstar/NorthstarLauncher synced 2024-10-30 11:26:40 +01:00

Disable more compression methods for minizip (#602)

Only use the absolute necessary compression methods in order to still allow compilation under Wine.
This commit is contained in:
Jan 2023-12-13 14:56:23 +01:00 committed by GitHub
parent de5a5006f1
commit 8a4107191b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,13 @@
if(NOT minizip_FOUND)
check_init_submodule(${PROJECT_SOURCE_DIR}/thirdparty/minizip)
set(MZ_ZLIB ON CACHE BOOL "Enable ZLIB compression, needed for DEFLATE")
set(MZ_BZIP2 OFF CACHE BOOL "Disable BZIP2 compression")
set(MZ_LZMA OFF CACHE BOOL "Disable LZMA & XZ compression")
set(MZ_PKCRYPT OFF CACHE BOOL "Disable PKWARE traditional encryption")
set(MZ_WZAES OFF CACHE BOOL "Disable WinZIP AES encryption")
set(MZ_ZSTD OFF CACHE BOOL "Disable ZSTD compression")
set(MZ_SIGNING OFF CACHE BOOL "Disable zip signing support")
add_subdirectory(${PROJECT_SOURCE_DIR}/thirdparty/minizip minizip)
set(minizip_FOUND 1 PARENT_SCOPE)