Skip to content

Commit 29a7ec6

Browse files
authored
include dependencies for benchmarks (#3055)
1 parent 9c5a27a commit 29a7ec6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cmake/sdks.cmake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ if(BUILD_ONLY)
191191
endforeach()
192192
endif()
193193

194+
if (BUILD_BENCHMARKS)
195+
LIST(APPEND SDK_BUILD_LIST "s3;s3-crt;monitoring;core")
196+
add_subdirectory(tests/benchmark)
197+
endif ()
198+
194199
LIST(REMOVE_DUPLICATES SDK_BUILD_LIST)
195200
LIST(REMOVE_DUPLICATES SDK_DEPENDENCY_BUILD_LIST)
196201

@@ -265,10 +270,6 @@ function(add_sdks)
265270
endif()
266271
endif()
267272

268-
if (BUILD_BENCHMARKS)
269-
add_subdirectory(tests/benchmark)
270-
endif ()
271-
272273
# the catch-all config needs to list all the targets in a dependency-sorted order
273274
include(dependencies)
274275
sort_links(EXPORTS)

0 commit comments

Comments
 (0)