From 11c6e5bf040d137c365021894518a98e72461485 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Wed, 19 Oct 2016 21:09:30 +0200 Subject: [PATCH] Require zlib 1.2.4 or compatible Commit 82778578279cbd9a2fa3fe6045cceb680750193b relies on zlib's gzoffset() function (not just offset(): that was a typo in the commit message, sorry). This function appeared in zlib 1.2.4 (which dates from 2010). Enforce this requirement with CMake. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eefa4b8..ebac679c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,7 @@ else() endif() endif(SIMGEAR_HEADLESS) -find_package(ZLIB REQUIRED) +find_package(ZLIB 1.2.4 REQUIRED) find_package(CURL REQUIRED) if (SYSTEM_EXPAT)