message: The cxx version of BerkeleyDB must be used!
diff: @@ -45,8 +45,12 @@ target_link_libraries(bdb INTERFACE bdb_lib)
  # Set up prefix
  set(BERKELEYDB_PREFIX ${CMAKE_CURRENT_BINARY_DIR})
  +message(STATUS "BERKELEYDB_PREFIX: ${BERKELEYDB_PREFIX}")
  -set(BERKELEYDB_LIBDB_PATH ${BERKELEYDB_PREFIX}/usr/local/BerkeleyDB.${BERKELEYDB_BUILD_VERSION_SHORT}/lib/libdb.a)
  +set(BERKELEYDB_LIBDB_PATH ${BERKELEYDB_PREFIX}/usr/local/BerkeleyDB.${BERKELEYDB_BUILD_VERSION_SHORT}/lib/libdb_cxx.a)
  +message(STATUS "BERKELEYDB_LIBDB_PATH ${BERKELEYDB_LIBDB_PATH}")
  +
  +set(BERKELEYDB_INCLUDE_PATH ${BERKELEYDB_PREFIX}/usr/local/BerkeleyDB.${BERKELEYDB_BUILD_VERSION_SHORT}/include PARENT_SCOPE)
  # Set up BerkeleyDB target
  include(BuildBerkeleyDB)
  