From 29a7ec66c17e66ff2ef25e4abd7b97d140711b8f Mon Sep 17 00:00:00 2001 From: Joseph Klix Date: Fri, 26 Jul 2024 09:28:16 -0700 Subject: [PATCH] include dependencies for benchmarks (#3055) --- cmake/sdks.cmake | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmake/sdks.cmake b/cmake/sdks.cmake index 1b1ada7fc02..75283cdd1b6 100644 --- a/cmake/sdks.cmake +++ b/cmake/sdks.cmake @@ -191,6 +191,11 @@ if(BUILD_ONLY) endforeach() endif() +if (BUILD_BENCHMARKS) + LIST(APPEND SDK_BUILD_LIST "s3;s3-crt;monitoring;core") + add_subdirectory(tests/benchmark) +endif () + LIST(REMOVE_DUPLICATES SDK_BUILD_LIST) LIST(REMOVE_DUPLICATES SDK_DEPENDENCY_BUILD_LIST) @@ -265,10 +270,6 @@ function(add_sdks) endif() endif() - if (BUILD_BENCHMARKS) - add_subdirectory(tests/benchmark) - endif () - # the catch-all config needs to list all the targets in a dependency-sorted order include(dependencies) sort_links(EXPORTS)