--- bindings/c/CMakeLists.txt.orig	2022-09-19 11:42:41 UTC
+++ bindings/c/CMakeLists.txt
@@ -78,7 +78,7 @@ endif()
 endif()
 
 # The tests don't build on windows
-if(NOT WIN32)
+if(NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
   set(MAKO_SRCS
     test/mako/mako.c
     test/mako/mako.h
