aboutsummaryrefslogtreecommitdiff
path: root/cmake/Findminizip.cmake
blob: 17489061bcf9346d86b266aaafb1ce62db057a28 (plain)
1
2
3
4
5
6
7
8
9
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()