Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2367

CMake ignores "ENABLE_ZLIB=system"

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: Build

      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.

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: