--- CMakeLists.txt.orig	2024-01-09 21:06:41 UTC
+++ CMakeLists.txt
@@ -193,8 +193,10 @@ else()
 endif()
 add_subdirectory(fdbbackup)
 add_subdirectory(metacluster)
-add_subdirectory(tests)
-add_subdirectory(flowbench EXCLUDE_FROM_ALL)
+#add_subdirectory(tests)
+if(WITH_FLOWBENCH)
+  add_subdirectory(flowbench EXCLUDE_FROM_ALL)
+endif()
 if(WITH_PYTHON AND WITH_C_BINDING)
   add_subdirectory(bindings)
 endif()
