#1264·zlib

A logical block opening on the line closes on the line with mis-matching arguments

Author: ilya-fedinCreated Jun 8, 2026Updated Jun 15, 2026

Trying to build from develop branch with cmake's -Werror=dev in consuming project...

[cmake] CMake Error (dev) at /usr/local/lib64/cmake/minizip/minizipConfig.cmake:4 (set):
[cmake]   implicitly converting 'Bool' to 'STRING' type.
[cmake] Call Stack (most recent call first):
[cmake]   cmake/external/minizip/CMakeLists.txt:11 (find_package)
[cmake] This error is for project developers. Use -Wno-error=dev to suppress it.
[cmake] 
[cmake] CMake Error (dev) in /usr/local/lib64/cmake/minizip/minizipConfig.cmake:
[cmake]   A logical block opening on the line
[cmake] 
[cmake]     /usr/local/lib64/cmake/minizip/minizipConfig.cmake:42 (if)
[cmake] 
[cmake]   closes on the line
[cmake] 
[cmake]     /usr/local/lib64/cmake/minizip/minizipConfig.cmake:47 (endif)
[cmake] 
[cmake]   with mis-matching arguments.
[cmake] Call Stack (most recent call first):
[cmake]   cmake/external/minizip/CMakeLists.txt:11 (find_package)
[cmake] This error is for project developers. Use -Wno-error=dev to suppress it.
[cmake] 
[cmake] CMake Error (dev) in /usr/local/lib64/cmake/minizip/minizipConfig.cmake:
[cmake]   A logical block opening on the line
[cmake] 
[cmake]     /usr/local/lib64/cmake/minizip/minizipConfig.cmake:49 (if)
[cmake] 
[cmake]   closes on the line
[cmake] 
[cmake]     /usr/local/lib64/cmake/minizip/minizipConfig.cmake:54 (endif)
[cmake] 
[cmake]   with mis-matching arguments.
[cmake] Call Stack (most recent call first):
[cmake]   cmake/external/minizip/CMakeLists.txt:11 (find_package)
[cmake] This error is for project developers. Use -Wno-error=dev to suppress it.