message: FindBerkeleyDB needs to differentiate between Win and others :-/
diff: @@ -121,10 +121,16 @@ macro(_berkeleydb_get_lib _BERKELEYDB_OUTPUT_VARNAME _TARGET_BERKELEYDB_LIB)
  endif()
  endmacro()
  +if (WIN32)
  + set(LIB_EXTENSION "")
  +else()
  + set(LIB_EXTENSION ".a")
  +endif()
  +
  # Find and set the paths of the specific library to the variable
  -_berkeleydb_get_lib(BerkeleyDB_LIBRARY "db.a")
  +_berkeleydb_get_lib(BerkeleyDB_LIBRARY "db${LIB_EXTENSION}")
  # NOTE: Windows doesn't have a db_cxx lib, but instead compiles the cxx code into the "db" lib
  -_berkeleydb_get_lib(BerkeleyDB_Cxx_LIBRARY "db_cxx.a")
  +_berkeleydb_get_lib(BerkeleyDB_Cxx_LIBRARY "db_cxx${LIB_EXTENSION}")
  # NOTE: I don't think Linux/Unix gets an SQL lib
  _berkeleydb_get_lib(BerkeleyDB_Sql_LIBRARY "db_sql")
  _berkeleydb_get_lib(BerkeleyDB_Stl_LIBRARY "db_stl")
  