Details
-
New Feature
-
Resolution: Fixed
-
Major - P3
-
None
Description
libmongoc's CMakeLists.txt silently ignores ENABLE_ZLIB=system, treating it the same as ENABLE_ZLIB=no. Same for ENABLE_ZLIB=auto.
The Autotools scripts correctly use the system zlib if "--with-zlib=system", and correctly chooses system or bundled zlib if "--with-zlib=auto".
Update CMakeLists.txt and implement the correct logic for ENABLE_ZLIB=system or ENABLE_ZLIB=auto.