cmake file fix

This commit is contained in:
Arvid Norberg 2014-06-23 16:19:16 +00:00
parent 9263fc87c9
commit 27b8c5f108
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,6 @@ set(sources
alert_manager
allocator
asio
asio_ssl
assert
bandwidth_limit
bandwidth_manager
@ -229,6 +228,7 @@ if (encryption)
FIND_PACKAGE(OpenSSL REQUIRED)
endif()
add_definitions(-DTORRENT_USE_OPENSSL)
list(APPEND sources asio_ssl)
include_directories(${OPENSSL_INCLUDE_DIR})
target_link_libraries(torrent-rasterbar ${OPENSSL_LIBRARIES})
else()