Skip to content

Commit

Permalink
Use CMAKE_CURRENT_SOURCE_DIR in benchmark cpp path (#7781)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Bailey <derekbailey@google.com>
  • Loading branch information
liuq19 and dbaileychess committed Jan 19, 2023
1 parent 8179920 commit 991b39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ FetchContent_MakeAvailable(
googlebenchmark
)

set(CPP_BENCH_DIR cpp)
set(CPP_BENCH_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cpp)
set(CPP_FB_BENCH_DIR ${CPP_BENCH_DIR}/flatbuffers)
set(CPP_RAW_BENCH_DIR ${CPP_BENCH_DIR}/raw)
set(CPP_BENCH_FBS ${CPP_FB_BENCH_DIR}/bench.fbs)
Expand Down

0 comments on commit 991b39e

Please sign in to comment.