Skip to content

Commit

Permalink
Fixed build on macOS (SSL library dir).
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Feb 1, 2024
1 parent 97727da commit 797f348
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xtransmit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ message(STATUS "SRT_INCLUDE_DIR: ${SRT_INCLUDE_DIR}")
message(STATUS "SRT_UTILS_INCLUDE_DIR: ${SRT_UTILS_INCLUDE_DIR}")
message(STATUS "CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}")
message(STATUS "VIRTUAL_srtsupport: ${VIRTUAL_srtsupport}")
message(STATUS "SSL_LIBRARY_DIRS: ${SSL_LIBRARY_DIRS}")
target_include_directories(srt-xtransmit PUBLIC
${SRT_INCLUDE_DIR}
${SRT_UTILS_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIR}
${SSL_INCLUDE_DIRS}
)

target_link_directories(srt-xtransmit PUBLIC ${SSL_LIBRARY_DIRS})

if (ENABLE_BONDING OR ENABLE_EXPERIMENTAL_BONDING)
target_compile_options(srt-xtransmit
PRIVATE "-DENABLE_BONDING=1" "-DENABLE_EXPERIMENTAL_BONDING"
Expand Down

0 comments on commit 797f348

Please sign in to comment.