Merge pull request #535 from MikaelSmith/fix-cmake

Add read_resume_data to CMakeLists.txt, fix building examples
This commit is contained in:
Arvid Norberg 2016-03-12 21:25:00 -05:00
commit f38d384c3f
3 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ set(sources
puff puff
random random
receive_buffer receive_buffer
read_resume_data
request_blocks request_blocks
resolve_links resolve_links
resolver resolver

View File

@ -17,8 +17,9 @@ set(ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_CHANGED_PATH}")
find_package(LibtorrentRasterbar REQUIRED) find_package(LibtorrentRasterbar REQUIRED)
find_package(Boost REQUIRED COMPONENTS system) 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}) add_definitions(${LibtorrentRasterbar_DEFINITIONS})
set(single_file_examples set(single_file_examples

0
examples/run_cmake.sh.in Normal file → Executable file
View File