From eebee4d671d07e76a04ba0f6cf702dbd8e2eb44c Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Wed, 14 Jan 2026 14:10:21 +0000 Subject: [PATCH] chore: Fix linker warning in benchmark (#2918) --- .github/workflows/build.yml | 1 + benchmarks/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 937c5522..3cae8f21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ on: - "cmake/**" - "src/**" - "tests/**" + - "benchmarks/**" - docs/config-description.md workflow_dispatch: diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index e70ee2bb..831cf00b 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -16,5 +16,5 @@ target_sources( include(deps/gbench) target_include_directories(clio_benchmark PRIVATE .) -target_link_libraries(clio_benchmark PUBLIC clio_util clio_rpc benchmark::benchmark_main spdlog::spdlog) +target_link_libraries(clio_benchmark PRIVATE clio_rpc clio_util benchmark::benchmark_main spdlog::spdlog) set_target_properties(clio_benchmark PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})