diff --git a/CMakeLists.txt b/CMakeLists.txt index 547f25e6d..46b6f0a6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,7 @@ set(sources puff random receive_buffer + read_resume_data request_blocks resolve_links resolver diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index ba7595f33..a2bc874a3 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -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 diff --git a/examples/run_cmake.sh.in b/examples/run_cmake.sh.in old mode 100644 new mode 100755