Examples require C++ linker

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.8.2, 1.9.0
    • Affects Version/s: 1.7.0
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I see in libmongoc's CMakeLists.txt:

            if (ENABLE_SNAPPY STREQUAL "bundled")
               set_target_properties(${example} PROPERTIES LINKER_LANGUAGE CXX)
               set_target_properties(${example} PROPERTIES LINKER_LANGUAGE CXX)
            endif ()
      

      The line need not be repeated, obviously. But more importantly, is it still necessary to use a C++ linker when linking a program to libmongoc that was built with bundled Snappy? Or did we fix that?

              Assignee:
              Unassigned
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: