summaryrefslogtreecommitdiffstats
path: root/src/kv/CMakeLists.txt
blob: 057eb82601aff56586766cf026434da6e01677a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set(kv_srcs
  KeyValueDB.cc
  MemDB.cc
  RocksDBStore.cc
  rocksdb_cache/ShardedCache.cc
  rocksdb_cache/BinnedLRUCache.cc)

if (WITH_LEVELDB)
  list(APPEND kv_srcs LevelDBStore.cc)
endif (WITH_LEVELDB)

add_library(kv STATIC ${kv_srcs}
  $<TARGET_OBJECTS:common_prioritycache_obj>)

target_link_libraries(kv ${LEVELDB_LIBRARIES}
  RocksDB::RocksDB
  heap_profiler)