File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
[submodule "third_party/googletest "]
2
2
path = third_party/googletest
3
3
url = https://github.com/google/googletest.git
4
+ [submodule "third_party/benchmark "]
5
+ path = third_party/benchmark
6
+ url = https://github.com/google/benchmark
Original file line number Diff line number Diff line change @@ -298,6 +298,8 @@ if(LEVELDB_BUILD_TESTS)
298
298
# This project is tested using GoogleTest.
299
299
add_subdirectory ("third_party/googletest" )
300
300
301
+ add_subdirectory ("third_party/benchmark" )
302
+
301
303
# GoogleTest triggers a missing field initializers warning.
302
304
if (LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS)
303
305
set_property (TARGET gtest
@@ -318,7 +320,7 @@ if(LEVELDB_BUILD_TESTS)
318
320
319
321
"${test_file} "
320
322
)
321
- target_link_libraries ("${test_target_name} " leveldb gmock gtest)
323
+ target_link_libraries ("${test_target_name} " leveldb gmock gtest benchmark )
322
324
target_compile_definitions ("${test_target_name} "
323
325
PRIVATE
324
326
${LEVELDB_PLATFORM_NAME} =1
You can’t perform that action at this time.
0 commit comments