--- CMakeLists.txt.orig	2024-01-17 13:58:04 UTC
+++ CMakeLists.txt
@@ -184,8 +184,10 @@ else()
 endif()
 add_subdirectory(fdbbackup)
 add_subdirectory(contrib)
-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()
