Skip to content

Commit 9c03775

Browse files
committed
update googletest version
1 parent f86fbb7 commit 9c03775

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

examples/cpp/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/cpp/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ a.out: benchmark/build/src/libbenchmark.a bench.cpp fib.hpp
88
clang++ -std=c++14 -O3 -I ./benchmark/include -L ./benchmark/build/src/ -pthread bench.cpp -l benchmark
99

1010
benchmark/build/src/libbenchmark.a: benchmark/build benchmark/googletest
11-
cp CMakeLists.txt ./benchmark/CMakeLists.txt && \
1211
cd ./benchmark/build && \
1312
cmake -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_ENABLE_TESTING=true ../ && \
1413
make -j
@@ -20,7 +19,7 @@ benchmark:
2019
[ -d benchmark ] || git clone --depth=1 --single-branch --branch v1.5.0 https://github.com/google/benchmark.git benchmark
2120

2221
benchmark/googletest: benchmark
23-
[ -d benchmark/googletest ] || git clone --depth=1 --single-branch --branch release-1.10.0 https://github.com/google/googletest.git benchmark/googletest
22+
[ -d benchmark/googletest ] || git clone --depth=1 --single-branch --branch release-1.12.1 https://github.com/google/googletest.git benchmark/googletest
2423

2524
clean:
2625
rm -rf a.out benchmark

0 commit comments

Comments
 (0)