Without this, the Windows build fails due to OpenEXR being unhappy that zlibstatic isn't exported. At that point I'm stumped, since the only reference to zlib in the OpenEXR cmake files is to ZLIB::ZLIB.
Hi @mmp,
If switching to mainline OpenEXR is still a problem maybe it is possible to back port this PR. It would fix the last issue I have with building PBRT on Elbrus CPU out of the box.
We're currently using a hacked version of OpenEXR with an
install()
commented out in OpenExr/config/LibraryDefine.cmake: https://github.com/mmp/openexr/commit/5cfb5dab6dfada731586b0281bdb15ee75e26782Without this, the Windows build fails due to OpenEXR being unhappy that
zlibstatic
isn't exported. At that point I'm stumped, since the only reference to zlib in the OpenEXR cmake files is toZLIB::ZLIB
.