-
-
Notifications
You must be signed in to change notification settings - Fork 312
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: Ensure openjpeg2 is used #1135
Conversation
I merged this locally, and it breaks openjpeg detection on my Ubuntu (mantic) box. I do have:
Detection (and build) works fine without this change, and fails with it. I think the change looks fine, but not sure its completely backwards compatible. |
Any hints in the CMake output as to why? |
Here's my output when running
|
AFAICT, the cmake config files should be present on Debian/Ubuntu as well: https://packages.debian.org/bookworm/amd64/libopenjp2-7-dev/filelist |
I get this:
(The openjpeg-2.1 thing is just a symlink to openjpeg-2.5). The start of the config file has this:
I don't see anything else about a version though. |
Looks like there is a Cf. the file list in Arch, Fedora, and openSUSE On my MSYS2 UCRT64, this file contains The patch is fundamentally correct IMHO. However, given that this is going to take a while to fix and propagate in Debian/Ubuntu, an alternative workaround is obviously needed, so other suggestions are welcome. |
FYI, reported Debian/Ubuntu problem as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071999 |
Resolves #1134