--- folly/CMakeLists.txt.orig	2024-07-06 16:18:12 UTC
+++ folly/CMakeLists.txt
@@ -29,7 +29,9 @@ add_subdirectory(debugging/exception_tracer)
 )
 
 add_subdirectory(debugging/exception_tracer)
+if (FREEBSD_BUILD_EXAMPLES)
 add_subdirectory(logging/example)
+endif()
 
 if (PYTHON_EXTENSIONS)
   # Create tree of symbolic links in structure required for successful
