change link opt
This commit is contained in:
parent
e509618760
commit
4fa1cc6dd3
|
@ -274,7 +274,7 @@ if(${BUILD_WITH_ROCKSDB})
|
|||
option(WITH_TOOLS "" OFF)
|
||||
option(WITH_LIBURING "" OFF)
|
||||
IF (TD_LINUX)
|
||||
option(ROCKSDB_BUILD_SHARED "Build shared versions of the RocksDB libraries" ON)
|
||||
option(ROCKSDB_BUILD_SHARED "Build shared versions of the RocksDB libraries" OFF)
|
||||
ELSE()
|
||||
option(ROCKSDB_BUILD_SHARED "Build shared versions of the RocksDB libraries" OFF)
|
||||
ENDIF()
|
||||
|
|
|
@ -103,7 +103,7 @@ target_link_libraries(
|
|||
|
||||
# PUBLIC bdb
|
||||
# PUBLIC scalar
|
||||
PUBLIC rocksdb-shared
|
||||
PUBLIC rocksdb
|
||||
PUBLIC transport
|
||||
PUBLIC stream
|
||||
PUBLIC index
|
||||
|
|
|
@ -11,7 +11,7 @@ if(${BUILD_WITH_ROCKSDB})
|
|||
IF (TD_LINUX)
|
||||
target_link_libraries(
|
||||
stream
|
||||
PUBLIC rocksdb-shared tdb
|
||||
PUBLIC rocksdb tdb
|
||||
PRIVATE os util transport qcom executor wal index
|
||||
)
|
||||
ELSE()
|
||||
|
|
Loading…
Reference in New Issue