Skip to content

link to external minizip with full path - #5278

Merged
kimkulling merged 3 commits into
assimp:masterfrom
aumuell:external-minizip
Nov 6, 2023
Merged

kimkulling merged 3 commits into
assimp:masterfrom
aumuell:external-minizip

Conversation

@aumuell

@aumuell aumuell commented Oct 14, 2023

Copy link
Copy Markdown
Contributor

This let's cmake create config files that allow linking to minizip even when in an unrelated prefix. This can happen with package managers that install every package into their own prefix, such as Spack.

Unfortunately, the variable containing the full path to the libraries discovered via pkg-config (XXX_LINK_LIBRARIES instead of XXX_LIBRARIES) is only documented for CMake >= 3.12.

Perhaps this also helps solving #4864 and #3933.

aumuell and others added 2 commits October 14, 2023 15:26
This let's cmake create config files that allow linking to minizip even when
in an unrelated prefix. This can happen with package managers that install
every package into their own prefix, such as [Spack](https://spack.io).

@kimkulling kimkulling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@kimkulling
kimkulling merged commit a521b23 into assimp:master Nov 6, 2023
@kimkulling

Copy link
Copy Markdown
Member

Merged, thanks a lot for your contribution.

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants