Building Blender 2.93.3 with the new Half implementation of OpenEXR (that uses Half of Imath)

Hi,

on openSUSE, Factory switched to the new OpenEXR, using Half from Imath package,
which is conflicting with Half of ilmbase.

Any chance to get Blender building with this setup?

Right now, it fails with:

[   12s] -- Configuring done
[   12s] CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
[   12s] Please set them or make sure they are set and tested correctly in the CMake files:
[   12s] OPENEXR_HALF_LIBRARY (ADVANCED)
[   12s]     linked by target "cycles_kernel_osl" in directory /home/abuild/rpmbuild/BUILD/blender-2.93.3/intern/cycles/kernel/osl
[   12s]     linked by target "cycles_render" in directory /home/abuild/rpmbuild/BUILD/blender-2.93.3/intern/cycles/render
[   12s] OPENEXR_ILMIMF_LIBRARY (ADVANCED)
[   12s]     linked by target "cycles_kernel_osl" in directory /home/abuild/rpmbuild/BUILD/blender-2.93.3/intern/cycles/kernel/osl
[   12s]     linked by target "cycles_render" in directory /home/abuild/rpmbuild/BUILD/blender-2.93.3/intern/cycles/render
[   12s] 

The gory details are available here:

Other project have moved:

or are on the way to move:

For the record, somebody did that work already (although unconditionally switching over):

Thanks, @bartoszek.