Skip to content

Commit 991b39e

Browse files
liuq19dbaileychess
andauthored
Use CMAKE_CURRENT_SOURCE_DIR in benchmark cpp path (#7781)
Co-authored-by: Derek Bailey <[email protected]>
1 parent 8179920 commit 991b39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ FetchContent_MakeAvailable(
2727
googlebenchmark
2828
)
2929

30-
set(CPP_BENCH_DIR cpp)
30+
set(CPP_BENCH_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cpp)
3131
set(CPP_FB_BENCH_DIR ${CPP_BENCH_DIR}/flatbuffers)
3232
set(CPP_RAW_BENCH_DIR ${CPP_BENCH_DIR}/raw)
3333
set(CPP_BENCH_FBS ${CPP_FB_BENCH_DIR}/bench.fbs)

0 commit comments

Comments
 (0)