diff options
author | Jan <sentrycraft123@gmail.com> | 2023-12-13 14:56:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 14:56:23 +0100 |
commit | 8a4107191b782d087a94511e9fb6f85fcb7c43d9 (patch) | |
tree | 2f249a7175a94ef250884d09ccf73f748f84156d /cmake/Findminizip.cmake | |
parent | de5a5006f16eb792033dc2ba48b0ec67f180f55b (diff) | |
download | NorthstarLauncher-8a4107191b782d087a94511e9fb6f85fcb7c43d9.tar.gz NorthstarLauncher-8a4107191b782d087a94511e9fb6f85fcb7c43d9.zip |
Disable more compression methods for minizip (#602)
Only use the absolute necessary compression methods in order to still allow compilation under Wine.
Diffstat (limited to 'cmake/Findminizip.cmake')
-rw-r--r-- | cmake/Findminizip.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/Findminizip.cmake b/cmake/Findminizip.cmake index 17489061..15cfa373 100644 --- a/cmake/Findminizip.cmake +++ b/cmake/Findminizip.cmake @@ -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) |