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

CMake: inject libdir of lzma #658

Merged
merged 1 commit into from Nov 29, 2022
Merged

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Nov 27, 2022

When lzma if found with pkgconfig, LIBLZMA_LIBRARIES variable defined by pkg_check_modules doesn't contain full path to lzma, only lzma lib name, therefore it fails to link to a lzma library installed in a custom location (or links to lzma system installed version instead).
So the fix is to inject LIBLZMA_LIBRARY_DIRS as already done for all other dependencies of minizip-ng.

@nmoinvaz nmoinvaz changed the base branch from master to develop November 27, 2022 18:47
@nmoinvaz nmoinvaz merged commit 6ada234 into zlib-ng:develop Nov 29, 2022
@SpaceIm SpaceIm deleted the fix/lzma-libdirs branch November 29, 2022 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants