Skip to content

minizip-ng: linking of the OCIO library fails when minizip-ng was already installed via MacPorts #2213

Description

@JGoldstone

The MacPorts package manager installs the minizip-ng library without the trailing -ng, and similarly leaves the -ng off of the minizip-ng-related cmake modules. Configuring and building leaves things in a state where the includes are found, and the binaries all are compiled, but the linker invocation is inconsistent: the no-ng library name is used when specifying its position in the files to be linked, but earlier, in the linker directive to hide the symbols in the minizip-ng library, the -ng is present again, even though that's the wrong name.

There was already code to handle this in CMakeLists.txt if a particular variable (minizip_LIBRARY) was set, but Findminizip-ng.cmake was not setting it. Shortly I will submit a PR that sets 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions