Reviewing the Ptex update code I found a error typo in the ext/CMakeLists.txt file.
set (ZLIB_LIBRARIES ${ZLIB_LIBARIES} PARENT_SCOPE)https://github.com/mmp/pbrt-v4/blob/master/src/ext/CMakeLists.txt#L55
Maybe it's not detected yet because here, the included Zlib code is always compiled..
Cheers..
Reviewing the Ptex update code I found a error typo in the ext/CMakeLists.txt file.
set (ZLIB_LIBRARIES ${ZLIB_LIBARIES} PARENT_SCOPE)
https://github.com/mmp/pbrt-v4/blob/master/src/ext/CMakeLists.txt#L55 Maybe it's not detected yet because here, the included Zlib code is always compiled.. Cheers..