forked from premiere/premiere-libtorrent
Fix building examples
Add finding OpenSSL for examples (on Mac it's common for OpenSSL installed via Homebrew to not be on normal paths, so find it via CMAKE_PREFIX_PATH). Also make the example cmake helper script executable.
This commit is contained in:
parent
9b8b6b6c46
commit
7657373fe3
|
@ -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