[CDRIVER-2367] CMake ignores "ENABLE_ZLIB=system" Created: 13/Nov/17 Updated: 28/Oct/23 Resolved: 04/Apr/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 1.10.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Roberto Sanchez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ext | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Remove Autotools |
| 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. |
| Comments |
| Comment by Githook User [ 04/Apr/18 ] |
|
Author: {'email': 'roberto@connexer.com', 'name': 'Roberto C. Sánchez', 'username': 'rcsanchez97'}Message: |