Skip to content

Compatibility fixed for zlib and minizip#374

Open
arnauddgbes wants to merge 1 commit intoF2I-Consulting:masterfrom
arnauddgbes:cmake/zlib-1.3.2-fix
Open

Compatibility fixed for zlib and minizip#374
arnauddgbes wants to merge 1 commit intoF2I-Consulting:masterfrom
arnauddgbes:cmake/zlib-1.3.2-fix

Conversation

@arnauddgbes
Copy link
Copy Markdown

@arnauddgbes arnauddgbes commented May 6, 2026

What does this implement/fix?

The library names for zlib and minizip have been modified in zlib 1.3.1.2 and the current 1.3.2 tags.

Hence adding "minizipsd" as possible static/debug name for minizip, and "minizips" as possible static/release name for minizip.

For ZLIB, this has been handled by the following patch in CMake 4.2.0:
Kitware/CMake@b2c059e
Including a copy of this module provides compatibility for configuring the project with older versions of cmake

Does this close any currently open issues?

Yes: #373

Any relevant logs, error output, etc?

Not required, obvious

Any other comments?

Several warnings are shown about missing PDB files for libminizip. These warnings are not new.

Where has this been tested?

Operating System: Windows 11

Platform: Microsoft Visual Studio 2022, CMake 3.30
Made a static build of zlib on Windows.
Compiling fesapi against it using cmake 3.30 and MSVC 2022. CMake project configuration OK (by setting ZLIB_ROOT and MINIZIP_ROOT)

Summary:
The library names for zlib and minizip have been modified in zlib 1.3.1.2
and the current 1.3.2 tags.

Hence adding "minizipsd" as possible static/debug name for minizip,
and "minizips" as possible static/release name for minizip.

For ZLIB, this has been handled by the following patch in CMake 4.2.0:
Kitware/CMake@b2c059e
Including a copy of this module provides compatibility for configuring the project with older versions of cmake

Test Plan:
Made a static build of zlib on Windows.
Compiling fesapi against it using cmake 3.30 and MSVC 2022.
CMake project configuration OK (by setting ZLIB_ROOT and MINIZIP_ROOT),
build ok, although several warnings are shown about missing PDB files for libminizip. These warnings are not new.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant