From abe5d029e52b695cb05fb2034deebf31560dbc6e Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Wed, 24 Jan 2024 21:58:18 +0000 Subject: Pull zlib from custom fork (#650) Fixes builds failing due to https://github.com/madler/zlib/commit/2e3d86c4e12c4c23db4229eea7d0c1cd4571273e --- primedev/cmake/Findminizip.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/primedev/cmake/Findminizip.cmake b/primedev/cmake/Findminizip.cmake index a6d0f914..2884f909 100644 --- a/primedev/cmake/Findminizip.cmake +++ b/primedev/cmake/Findminizip.cmake @@ -1,4 +1,9 @@ if(NOT minizip_FOUND) + + # zlib 1.3.1 had a cmake change that broke stuff, so this branch on our fork reverts that one commit :) + set(ZLIB_TAG "fix-things") + set(ZLIB_REPOSITORY "https://github.com/R2Northstar/zlib") + check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minizip) set(MZ_ZLIB -- cgit v1.2.3