Merge pull request #535 from MikaelSmith/fix-cmake
Add read_resume_data to CMakeLists.txt, fix building examples
This commit is contained in:
commit
f38d384c3f
|
@ -61,6 +61,7 @@ set(sources
|
|||
puff
|
||||
random
|
||||
receive_buffer
|
||||
read_resume_data
|
||||
request_blocks
|
||||
resolve_links
|
||||
resolver
|
||||
|
|
|
@ -17,8 +17,9 @@ set(ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_CHANGED_PATH}")
|
|||
|
||||
find_package(LibtorrentRasterbar REQUIRED)
|
||||
find_package(Boost REQUIRED COMPONENTS system)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
|
||||
include_directories(${LibtorrentRasterbar_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
|
||||
include_directories(${LibtorrentRasterbar_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR})
|
||||
add_definitions(${LibtorrentRasterbar_DEFINITIONS})
|
||||
|
||||
set(single_file_examples
|
||||
|
|
Loading…
Reference in New Issue