mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Remove redundant linking dependencies (#1198)
* fixing compilation warning: ld: warning: ignoring duplicate libraries: '../crypto/libton_block.a', '../crypto/libton_crypto.a' * update upload-artifact version in TON Static Code Analysis GH action * remove even more redundant linking dependencies * remove even more redundant linking dependencies 2
This commit is contained in:
parent
eea95aeebb
commit
5f51d3d04f
16 changed files with 47 additions and 64 deletions
|
@ -41,13 +41,11 @@ set(STORAGE_CLI_SOURCE
|
|||
|
||||
add_library(storage STATIC ${STORAGE_SOURCE})
|
||||
target_link_libraries(storage tdutils tdactor tddb ton_crypto tl_api ${JEMALLOC_LIBRARIES})
|
||||
target_include_directories(storage PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
target_include_directories(storage PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
)
|
||||
|
||||
add_executable(storage-cli ${STORAGE_CLI_SOURCE})
|
||||
target_link_libraries(storage-cli storage overlay tdutils tdactor adnl tl_api dht
|
||||
rldp rldp2 fift-lib memprof terminal git ${JEMALLOC_LIBRARIES})
|
||||
target_link_libraries(storage-cli storage overlay tdutils tdactor adnl tl_api dht rldp rldp2 fift-lib memprof terminal git ${JEMALLOC_LIBRARIES})
|
||||
|
||||
set(STORAGE_TEST_SOURCE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/storage.cpp
|
||||
|
|
|
@ -25,8 +25,7 @@ set(STORAGE_DAEMON_CLI_SOURCE
|
|||
)
|
||||
|
||||
add_executable(storage-daemon ${STORAGE_DAEMON_SOURCE})
|
||||
target_link_libraries(storage-daemon storage overlay tdutils tdactor adnl tl_api dht
|
||||
rldp rldp2 fift-lib memprof git tonlib)
|
||||
target_link_libraries(storage-daemon storage overlay tdutils tdactor adnl tl_api dht rldp rldp2 fift-lib memprof git tonlib)
|
||||
|
||||
add_executable(storage-daemon-cli ${STORAGE_DAEMON_CLI_SOURCE})
|
||||
target_link_libraries(storage-daemon-cli tdutils tdactor adnllite tl_api tl_lite_api tl-lite-utils ton_block terminal git)
|
||||
target_link_libraries(storage-daemon-cli tdutils tdactor adnllite tl_api tl_lite_api tl-lite-utils ton_block terminal git)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue