Open opoplawski opened 4 months ago
I think we should parse MZ_VERSION
instead too. MZ_VERSION_BUILD
will be too unreliable going forward.
The cmake module that detects minizip does parse the MZ_VERSION from mz.h
as minizip-ng_VERSION
. So it should be just a matter of extracting the major version and creating a macro definition for it.
This hasn't been released yet but:
https://github.com/zlib-ng/minizip-ng/commit/a7d612adf210353ba0391e20d1d1abbb72d1ad83 https://github.com/zlib-ng/minizip-ng/issues/758