Skip to content

Commit e7a1f13

Browse files
fixup! feat(google_benchmark): add google_benchmark example
1 parent 68ce846 commit e7a1f13

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

examples/google_benchmark/CMakeLists.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ project(codspeed_picobench_compat VERSION 0.0.0 LANGUAGES CXX)
55

66
set(BENCHMARK_DOWNLOAD_DEPENDENCIES ON)
77

8-
# FetchContent_Declare( google_benchmark GIT_REPOSITORY
9-
# https://github.com/CodSpeedHQ/codspeed-cpp GIT_TAG
10-
# origin/cod-291-implement-the-core-instrumentation-library-in-c SOURCE_SUBDIR
11-
# google_benchmark)
12-
13-
FetchContent_Declare(google_benchmark
14-
SOURCE_DIR ${CMAKE_SOURCE_DIR}/../../google_benchmark)
8+
FetchContent_Declare(
9+
google_benchmark
10+
SOURCE_DIR
11+
${CMAKE_SOURCE_DIR}/../../google_benchmark
12+
)
1513

1614
FetchContent_MakeAvailable(google_benchmark)
1715

0 commit comments

Comments
 (0)