aboutsummaryrefslogtreecommitdiff
path: root/primedev/cmake/Findminizip.cmake
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2024-01-03 23:39:55 +0100
committerNorthstar <northstar@northstar.tf>2024-01-03 23:39:55 +0100
commit36e1093620c59f8ac10bd59d4d05ec3ceffd15f7 (patch)
tree67325d74fc2795500bb6638081eeac18c36dc0a4 /primedev/cmake/Findminizip.cmake
parentbaa706d25aa0eb0962551ae7b7978481db841c02 (diff)
downloadNorthstarLauncher-36e1093620c59f8ac10bd59d4d05ec3ceffd15f7.tar.gz
NorthstarLauncher-36e1093620c59f8ac10bd59d4d05ec3ceffd15f7.zip
Format cmake files
Diffstat (limited to 'primedev/cmake/Findminizip.cmake')
-rw-r--r--primedev/cmake/Findminizip.cmake46
1 files changed, 34 insertions, 12 deletions
diff --git a/primedev/cmake/Findminizip.cmake b/primedev/cmake/Findminizip.cmake
index ab48656a..a6d0f914 100644
--- a/primedev/cmake/Findminizip.cmake
+++ b/primedev/cmake/Findminizip.cmake
@@ -1,16 +1,38 @@
-
if(NOT minizip_FOUND)
- check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minizip)
+ check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/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")
+ 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}/primedev/thirdparty/minizip minizip)
- set(minizip_FOUND 1 PARENT_SCOPE)
+ add_subdirectory(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minizip minizip)
+ set(minizip_FOUND
+ 1
+ PARENT_SCOPE
+ )
endif()
-