|
|
@ -445,8 +445,12 @@ if(LEVELDB_BUILD_BENCHMARKS) |
|
|
|
endif(NOT HAVE_CXX17_HAS_INCLUDE) |
|
|
|
endfunction(leveldb_benchmark) |
|
|
|
|
|
|
|
# if(NOT BUILD_SHARED_LIBS) |
|
|
|
# leveldb_benchmark("benchmarks/db_bench.cc") |
|
|
|
# endif(NOT BUILD_SHARED_LIBS) |
|
|
|
|
|
|
|
if(NOT BUILD_SHARED_LIBS) |
|
|
|
leveldb_benchmark("benchmarks/db_bench.cc") |
|
|
|
leveldb_benchmark("benchmarks/db_bench_new.cc") |
|
|
|
endif(NOT BUILD_SHARED_LIBS) |
|
|
|
|
|
|
|
check_library_exists(sqlite3 sqlite3_open "" HAVE_SQLITE3) |
|
|
|