OpenColorIO
OpenColorIO copied to clipboard
minizip seems to be changing to a hex number for MZ_VERSION_BUILD
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
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.
Closing as this is no longer relevant after PR #2192.