CMakeList.txt fix

This commit is contained in:
Arvid Norberg 2014-10-15 03:01:39 +00:00
parent 99cd0c7a08
commit d308dce99b
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@ set(sources
block_cache
bloom_filter
chained_buffer
crc32c
create_torrent
disk_buffer_holder
entry
@ -52,6 +53,7 @@ set(sources
puff
random
request_blocks
resolver
rss
session
session_call
@ -105,6 +107,7 @@ set(sources
# -- kademlia --
set(kademlia_sources
dos_blocker
dht_tracker
node
refresh
@ -233,7 +236,7 @@ endif()
# Boost
if(NOT DEFINED Boost_INCLUDE_DIR OR NOT DEFINED Boost_LIBRARIES)
FIND_PACKAGE( Boost COMPONENTS system thread date_time chrono)
FIND_PACKAGE( Boost COMPONENTS system thread date_time chrono random)
endif()
include_directories(${Boost_INCLUDE_DIR})
target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})

View File

@ -1998,6 +1998,7 @@ namespace aux {
enum { listen_no_system_port = 0x02 };
// TODO: 3 return the listen_socket_t instead of taking it as an out-parameter
void session_impl::setup_listener(listen_socket_t* s, std::string const& device
, bool ipv4, int port, int& retries, int flags, error_code& ec)
{