Bug 461516 - FindOpenEXR looks for 'IlmImf' while this is renamed to 'OpenEXR' in OpenEXR 3+
Summary: FindOpenEXR looks for 'IlmImf' while this is renamed to 'OpenEXR' in OpenEXR 3+
Status: REPORTED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.99.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: ecm-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-06 19:58 UTC by Fonkle
Modified: 2022-11-06 19:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fonkle 2022-11-06 19:58:41 UTC
SUMMARY

FindOpenEXR looks for 'libIlmImf' while this is renamed to 'libOpenEXR' in OpenEXR 3+.

STEPS TO REPRODUCE
1. sudo apt install extra-cmake-modules
2. sudo apt install libopenexr-dev libilmbase-dev
2. Use the 'FindOpenEXR' cmake module in a CMakeLists.txt project

OBSERVED RESULT

CMake error message: Could NOT find OpenEXR (missing: OpenEXR_ILMIMF_LIBRARY)

EXPECTED RESULT

OpenEXR_FOUND: True

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.10 + backports
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION