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?