Skip to content

Commit

Permalink
include dependencies for benchmarks (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmklix authored Jul 26, 2024
1 parent 9c5a27a commit 29a7ec6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmake/sdks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 29a7ec6

Please sign in to comment.