--- CMakeLists.txt.orig 2019-10-20 14:17:43 UTC +++ CMakeLists.txt @@ -52,7 +52,7 @@ if (LIBPGMATH_STANDALONE_BUILD) endif() set(LIBPGMATH_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}") -if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD") +if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD" OR "${LIBPGMATH_SYSTEM_NAME}" STREQUAL "FreeBSD") set(LIBPGMATH_SYSTEM_NAME "Linux") endif ()