Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,18 @@ elseif(ANDROID)
ssl
crypto
${ANDROID_LOG_LIB})
elseif(APPLE AND BUILD_MACOS_BUNDLE)
# Add /usr/lib to rpath so @rpath/libz.1.dylib can be found
Comment thread
gmurayama marked this conversation as resolved.
set_target_properties(pitaya PROPERTIES
BUILD_RPATH "/usr/lib"
INSTALL_RPATH "/usr/lib"
)
target_link_libraries(pitaya
PRIVATE
zlib
uv_a
ssl
crypto)
else()
target_link_libraries(pitaya
PRIVATE
Expand Down