Browse Source

Fix kademlia cmake (#126)

Signed-off-by: ortyomka <iurin.art@gmail.com>
pull/128/head
Artem Iurin 4 years ago
committed by GitHub
parent
commit
adc1155a77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/protocol/kademlia/CMakeLists.txt
  2. 3
      src/protocol/kademlia/impl/CMakeLists.txt

4
src/protocol/kademlia/CMakeLists.txt

@ -5,9 +5,13 @@
libp2p_add_library(p2p_kademlia_message libp2p_add_library(p2p_kademlia_message
message.cpp message.cpp
impl/content_id.cpp
) )
target_link_libraries(p2p_kademlia_message target_link_libraries(p2p_kademlia_message
p2p_cid
p2p_kademlia_proto p2p_kademlia_proto
p2p_multiaddress
p2p_peer_id
) )
libp2p_add_library(p2p_kademlia_error libp2p_add_library(p2p_kademlia_error

3
src/protocol/kademlia/impl/CMakeLists.txt

@ -9,7 +9,6 @@ libp2p_add_library(p2p_kademlia
storage_impl.cpp storage_impl.cpp
storage_backend_default.cpp storage_backend_default.cpp
validator_default.cpp validator_default.cpp
content_id.cpp
put_value_executor.cpp put_value_executor.cpp
get_value_executor.cpp get_value_executor.cpp
add_provider_executor.cpp add_provider_executor.cpp
@ -18,8 +17,6 @@ libp2p_add_library(p2p_kademlia
) )
target_link_libraries(p2p_kademlia target_link_libraries(p2p_kademlia
asio_scheduler asio_scheduler
p2p_peer_id
p2p_cid
p2p_kademlia_message p2p_kademlia_message
p2p_kademlia_error p2p_kademlia_error
) )

Loading…
Cancel
Save