Skip to content
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

link to external minizip with full path #5278

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

aumuell
Copy link
Contributor

@aumuell aumuell commented Oct 14, 2023

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).
Copy link
Member

@kimkulling kimkulling left a comment

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
11 checks passed
@kimkulling
Copy link
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.

None yet

2 participants