CMake ignores "ENABLE_ZLIB=system"

XMLWordPrintableJSON

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

      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
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: