mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-27 03:11:28 +00:00
Fix microbenchmark build failure (#8064)
Co-authored-by: Chen Fu <fuchen@microsoft.com>
This commit is contained in:
parent
e31784b6cf
commit
32e118bef0
1 changed files with 1 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ if(onnxruntime_BUILD_BENCHMARKS)
|
|||
# We will not need to install benchmark since we link it statically.
|
||||
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Disable benchmark install to avoid overwriting vendor install.")
|
||||
add_subdirectory(${PROJECT_SOURCE_DIR}/external/googlebenchmark EXCLUDE_FROM_ALL)
|
||||
add_library(benchmark::benchmark ALIAS benchmark)
|
||||
#add_library(benchmark::benchmark ALIAS benchmark)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue