diff --git a/velox/functions/remote/CMakeLists.txt b/velox/functions/remote/CMakeLists.txt index 67e2604722d6..163c74228678 100644 --- a/velox/functions/remote/CMakeLists.txt +++ b/velox/functions/remote/CMakeLists.txt @@ -16,4 +16,6 @@ add_subdirectory(if) add_subdirectory(client) add_subdirectory(server) add_subdirectory(utils) +if(${VELOX_ENABLE_BENCHMARKS}) add_subdirectory(benchmarks) +endif()