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

Set PKGCONFIG_TARGET_LIBS/INCLUDES for libjxl_cms.pc #2905

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BtbN
Copy link
Contributor

@BtbN BtbN commented Oct 24, 2023

Without this, the .pc file ends up with those variables empty, breaking the build in hilarious ways as the empty -L / -I eat up the next argument.

This section is straight up copied from the two sibling .cmake files.

mo271
mo271 previously approved these changes Oct 24, 2023
@mo271
Copy link
Member

mo271 commented Oct 24, 2023

Thanks!

@mo271
Copy link
Member

mo271 commented Oct 24, 2023

Please add yourself to the AUTHORS file (I can also do it for you, if that is more convenient...)

@mo271
Copy link
Member

mo271 commented Oct 24, 2023

Thanks for attempting to fix the AUTHORS check! They still fail, because a different name/email address are used in the commits, see here:

https://github.com/libjxl/libjxl/commit/2b680c3a7c2b05db2e322a2900beb226b272d866.patch
https://github.com/libjxl/libjxl/commit/0fedc58f36c1e09b55c644d7c85354e135727fc2.patch

@BtbN
Copy link
Contributor Author

BtbN commented Oct 24, 2023

Should be fixed now, hopefully.
Is it preferred to have the update of AUTHORS in a separate commit like this, or should I squash it into the first one?

@eustas
Copy link
Contributor

eustas commented Oct 26, 2023

I believe it is better to move this piece to lib/CMakeLists.txt and remove copy in lib/jxl.cmake, so that all lib/ artifacts are affected.

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

3 participants