Skip to content

Commit 25a77f9

Browse files
fixup! feat(google_benchmark): add google_benchmark example
1 parent 516e797 commit 25a77f9

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

examples/google_benchmark/CMakeLists.txt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
cmake_minimum_required(VERSION 3.12)
22
include(FetchContent)
33

4-
project(
5-
codspeed_picobench_compat
6-
VERSION 0.0.0
7-
LANGUAGES CXX)
4+
project(codspeed_picobench_compat VERSION 0.0.0 LANGUAGES CXX)
85

96
set(BENCHMARK_DOWNLOAD_DEPENDENCIES ON)
107

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

1914
FetchContent_MakeAvailable(google_benchmark)
2015

0 commit comments

Comments
 (0)