diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Findminizip.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/Findminizip.cmake b/cmake/Findminizip.cmake new file mode 100644 index 00000000..17489061 --- /dev/null +++ b/cmake/Findminizip.cmake @@ -0,0 +1,10 @@ + +if(NOT minizip_FOUND) + check_init_submodule(${PROJECT_SOURCE_DIR}/thirdparty/minizip) + + set(MZ_LZMA OFF CACHE BOOL "Disable LZMA & XZ compression") + + add_subdirectory(${PROJECT_SOURCE_DIR}/thirdparty/minizip minizip) + set(minizip_FOUND 1 PARENT_SCOPE) +endif() + |