--- CMakeLists.txt.orig	2026-02-07 08:38:50 UTC
+++ CMakeLists.txt
@@ -230,7 +230,7 @@ endif()
   add_subdirectory(test)
 endif()
 
-if (NOT CMAKE_CROSSCOMPILING)
+if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING)
   add_subdirectory(benchmark)
 endif()
 
