Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-882

Incorrect mongoc include path, non-pkgconfig

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.0.2
    • Affects Version/s: 3.0.1
    • Component/s: Build
    • Labels:
      None

      The FindLibMongoC cmake helper, in the non-pkgconfig path, uses an uppercase version of the include directory. This won't work properly on a case-sensitive system.

      Presently:

      set(LIBMONGOC_INCLUDE_DIRS ${LIBMONGOC_DIR}/include/libMONGOC-1.0 CACHE INTERNAL "")

      Should be:
      set(LIBMONGOC_INCLUDE_DIRS ${LIBMONGOC_DIR}/include/libmongoc-1.0 CACHE INTERNAL "")

            Assignee:
            matt.cotter Matt Cotter
            Reporter:
            alb@neptunesystems.com Allan Bazinet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: