forked from premiere/premiere-libtorrent
cmake file fix
This commit is contained in:
parent
9263fc87c9
commit
27b8c5f108
|
@ -7,7 +7,6 @@ set(sources
|
||||||
alert_manager
|
alert_manager
|
||||||
allocator
|
allocator
|
||||||
asio
|
asio
|
||||||
asio_ssl
|
|
||||||
assert
|
assert
|
||||||
bandwidth_limit
|
bandwidth_limit
|
||||||
bandwidth_manager
|
bandwidth_manager
|
||||||
|
@ -229,6 +228,7 @@ if (encryption)
|
||||||
FIND_PACKAGE(OpenSSL REQUIRED)
|
FIND_PACKAGE(OpenSSL REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DTORRENT_USE_OPENSSL)
|
add_definitions(-DTORRENT_USE_OPENSSL)
|
||||||
|
list(APPEND sources asio_ssl)
|
||||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
target_link_libraries(torrent-rasterbar ${OPENSSL_LIBRARIES})
|
target_link_libraries(torrent-rasterbar ${OPENSSL_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue