Skip to content

Commit

Permalink
Removing link dependencies to Boost::boost as it's not actually a tar…
Browse files Browse the repository at this point in the history
…get. (#4040)
  • Loading branch information
clemahieu authored Jan 13, 2023
1 parent 73ab4ab commit d8fa4b7
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 29 deletions.
3 changes: 1 addition & 2 deletions nano/core_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@ target_link_libraries(
gtest
libminiupnpc-static
Boost::log_setup
Boost::log
Boost::boost)
Boost::log)
3 changes: 1 addition & 2 deletions nano/ipc_flatbuffers_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ target_link_libraries(
Boost::log
Boost::program_options
Boost::system
Boost::thread
Boost::boost)
Boost::thread)
1 change: 0 additions & 1 deletion nano/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ target_link_libraries(
ipc_flatbuffers_lib
${CRYPTOPP_LIBRARY}
${CMAKE_DL_LIBS}
Boost::boost
Boost::program_options)

if(NANO_STACKTRACE_BACKTRACE)
Expand Down
1 change: 0 additions & 1 deletion nano/load_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ target_link_libraries(
secure
test_common
gtest
Boost::boost
Boost::coroutine
Boost::context)
9 changes: 1 addition & 8 deletions nano/nano_node/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
add_executable(nano_node daemon.cpp daemon.hpp entry.cpp)

target_link_libraries(
nano_node
node
rpc
secure
argon2
Boost::boost
${PLATFORM_LIBS})
target_link_libraries(nano_node node rpc secure argon2 ${PLATFORM_LIBS})

if(NANO_STACKTRACE_BACKTRACE)
target_link_libraries(nano_node backtrace)
Expand Down
3 changes: 1 addition & 2 deletions nano/nano_rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ target_link_libraries(
Boost::log
Boost::program_options
Boost::system
Boost::thread
Boost::boost)
Boost::thread)

target_compile_definitions(
nano_rpc
Expand Down
1 change: 0 additions & 1 deletion nano/node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ target_link_libraries(
Boost::program_options
Boost::system
Boost::thread
Boost::boost
rocksdb
${DISKHASH}
${CMAKE_DL_LIBS}
Expand Down
2 changes: 1 addition & 1 deletion nano/rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ add_library(
rpc_request_processor.hpp
rpc_request_processor.cpp)

target_link_libraries(rpc nano_lib ${OPENSSL_LIBRARIES} Boost::boost)
target_link_libraries(rpc nano_lib ${OPENSSL_LIBRARIES})
1 change: 0 additions & 1 deletion nano/secure/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ target_link_libraries(
ed25519
crypto_lib
lmdb
Boost::boost
Boost::system
Boost::filesystem)

Expand Down
10 changes: 2 additions & 8 deletions nano/slow_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
add_executable(slow_test entry.cpp node.cpp vote_cache.cpp vote_processor.cpp)

target_link_libraries(
slow_test
secure
node
test_common
gtest
libminiupnpc-static
Boost::boost)
target_link_libraries(slow_test secure node test_common gtest
libminiupnpc-static)
3 changes: 1 addition & 2 deletions nano/test_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ add_library(
testutil.hpp
testutil.cpp)

target_link_libraries(test_common node gtest Boost::log_setup Boost::log
Boost::boost)
target_link_libraries(test_common node gtest Boost::log_setup Boost::log)

0 comments on commit d8fa4b7

Please sign in to comment.