Skip to content
Snippets Groups Projects
Commit cff4f670 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

build: only build http with proxy

parent 2eec17fd
No related tags found
No related merge requests found
...@@ -159,7 +159,6 @@ list (APPEND opendht_SOURCES ...@@ -159,7 +159,6 @@ list (APPEND opendht_SOURCES
src/peer_discovery.cpp src/peer_discovery.cpp
src/network_utils.cpp src/network_utils.cpp
src/thread_pool.cpp src/thread_pool.cpp
src/http.cpp
) )
list (APPEND opendht_HEADERS list (APPEND opendht_HEADERS
...@@ -186,7 +185,6 @@ list (APPEND opendht_HEADERS ...@@ -186,7 +185,6 @@ list (APPEND opendht_HEADERS
include/opendht/peer_discovery.h include/opendht/peer_discovery.h
include/opendht/thread_pool.h include/opendht/thread_pool.h
include/opendht/network_utils.h include/opendht/network_utils.h
include/opendht/http.h
include/opendht.h include/opendht.h
) )
...@@ -230,6 +228,10 @@ if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT) ...@@ -230,6 +228,10 @@ if (OPENDHT_PROXY_SERVER OR OPENDHT_PROXY_CLIENT)
endif () endif ()
list (APPEND opendht_HEADERS list (APPEND opendht_HEADERS
include/opendht/proxy.h include/opendht/proxy.h
include/opendht/http.h
)
list (APPEND opendht_SOURCES
src/http.cpp
) )
endif () endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment