--- CMakeLists.txt.orig 2020-10-19 14:59:47 UTC +++ CMakeLists.txt @@ -134,7 +134,7 @@ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ############################################################################### if(NOT DEFINED SOCI_LIBDIR) - if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4) + if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") set(SOCI_LIBDIR "lib") else() set(SOCI_LIBDIR "lib64")