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

Incorrect mongoc include path, non-pkgconfig

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.0.2
    • 3.0.1
    • Build
    • None

    Description

      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 "")

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: