--- cmake/package_name.cmake.orig 2020-12-10 13:01:55.000000000 +1000 +++ cmake/package_name.cmake 2021-12-07 12:59:15.219042000 +1000 @@ -59,7 +59,7 @@ SET(DEFAULT_MACHINE "${CMAKE_SYSTEM_PROCESSOR}-64bit") ENDIF() ENDIF() - ELSEIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + ELSEIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "BSDSUniX" ) STRING(REGEX MATCH "[0-9]+\\.[0-9]+" VER "${CMAKE_SYSTEM_VERSION}") SET(DEFAULT_PLATFORM "${CMAKE_SYSTEM_NAME}${VER}") IF(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64")