-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken logic in FindMINIZIP.cmake #405
Comments
Thanks. I'll take a look. |
Fix Cmake minizip version check that had an incorrect regex and resulted in the package not being found. Issue #405
There was a "Version/version" typo in the regex that prevented Anyway, if you get a chance can you test main to see if it works on your OS. |
I think I found the reason this didn't fail before. It was due to another change/fix in #398. Anyway, the good news is that the CI is passing again so I'm going to close this. |
We look into what
FindMINIZIP.cmake
does:libxlsxwriter/cmake/FindMINIZIP.cmake
Lines 92 to 95 in f43e53e
When enabling
USE_SYSTEM_MINIZIP
and system libminizip is found, these lines basically look through system's/usr/include/zlib.h
and look for strings likeVersion [0-9]+\\.[0-9]+(\\.[0-9]+)?
.However, the
zlib.h
header never had such lines:This condition actually applies to all recent zlib releases.
I believe the logic in
FindMINIZIP.cmake
must be broken somewhere. Can you take a look?The text was updated successfully, but these errors were encountered: