pbrt-v4 icon indicating copy to clipboard operation
pbrt-v4 copied to clipboard

Fix CMake build error finding OpenEXR package

Open PZerua opened this issue 9 months ago • 1 comments

Fixes: #467

find_package(OpenEXR) was called twice, once in the main CMakeLists.txt and another in src/ext/CMakeLists.txt. Also, when OpenEXR and ZLib are not installed in the system, trying to find the package OpenEXR in the main CMake failed with the error: "missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR" because the variables were not in the scope.

PZerua avatar Mar 03 '25 17:03 PZerua

I had a similar problem. Have you solved it?

sssfish avatar Mar 27 '25 02:03 sssfish

Thanks! I believe that other PRs have taken care of this issue so closing this one out.

mmp avatar Oct 22 '25 19:10 mmp