OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

minizip seems to be changing to a hex number for MZ_VERSION_BUILD

Open opoplawski opened this issue 1 year ago • 3 comments

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

opoplawski avatar Mar 04 '24 03:03 opoplawski

I think we should parse MZ_VERSION instead too. MZ_VERSION_BUILD will be too unreliable going forward.

markreidvfx avatar Apr 01 '24 20:04 markreidvfx

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.

markreidvfx avatar Apr 01 '24 21:04 markreidvfx

Closing as this is no longer relevant after PR #2192.

doug-walker avatar Oct 27 '25 18:10 doug-walker