From fcd1de8f62d026f057761045675d93bf85ef8d3a Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Tue, 12 Oct 2021 17:09:06 +0800 Subject: [PATCH] more --- source/libs/tkv/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/libs/tkv/CMakeLists.txt b/source/libs/tkv/CMakeLists.txt index 6ad553b1ca..6f68cc5a9a 100644 --- a/source/libs/tkv/CMakeLists.txt +++ b/source/libs/tkv/CMakeLists.txt @@ -8,4 +8,10 @@ target_include_directories( target_link_libraries( tkv PUBLIC os -) \ No newline at end of file +) +if(${BUILD_WITH_ROCKSDB}) + target_link_libraries( + tkv + PUBLIC rocksdb + ) +endif(${BUILD_WITH_ROCKSDB}) -- GitLab