aboutsummaryrefslogtreecommitdiff
path: root/src/net/CMakeLists.txt
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-04-18 02:14:04 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-04-18 02:14:04 -0500
commit669459797407afdcfce5c646749c7f6c33478657 (patch)
tree7c0a3a50cbe36597ad94f2a07c0c8b99dbf88ac0 /src/net/CMakeLists.txt
parentMerge pull request #7819 (diff)
parentCMake: Add missing headers via monero_find_all_headers macro (diff)
downloadmonero-669459797407afdcfce5c646749c7f6c33478657.tar.xz
Merge pull request #8207
4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
Diffstat (limited to '')
-rw-r--r--src/net/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/CMakeLists.txt b/src/net/CMakeLists.txt
index f4c24ab12..a4d31eedf 100644
--- a/src/net/CMakeLists.txt
+++ b/src/net/CMakeLists.txt
@@ -29,8 +29,7 @@
set(net_sources dandelionpp.cpp error.cpp http.cpp i2p_address.cpp parse.cpp resolve.cpp
socks.cpp socks_connect.cpp tor_address.cpp zmq.cpp)
-set(net_headers dandelionpp.h error.h http.cpp i2p_address.h parse.h socks.h resolve.h
- socks_connect.h tor_address.h zmq.h)
+monero_find_all_headers(net_headers "${CMAKE_CURRENT_SOURCE_DIR}")
monero_add_library(net ${net_sources} ${net_headers})
target_link_libraries(net common epee ${ZMQ_LIB} ${Boost_ASIO_LIBRARY})