From 32e118bef023d4083a6f3e3c99e867605d1237b7 Mon Sep 17 00:00:00 2001 From: Chen Fu Date: Tue, 15 Jun 2021 20:49:39 -0700 Subject: [PATCH] Fix microbenchmark build failure (#8064) Co-authored-by: Chen Fu --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 4c29f677d6..0960ba45c0 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -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()