Skip to content

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

Description

@ilya-fedin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions