Require zlib 1.2.4 or compatible

Commit 8277857827 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.
This commit is contained in:
Florent Rougon 2016-10-19 21:09:30 +02:00
parent 8277857827
commit 11c6e5bf04

View File

@ -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)