File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,11 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
170170
171171 # OpenSSL is deprecated on later versions of Mac OS X. The long-term solution
172172 # is to provide a CommonCryto implementation.
173- if (APPLE AND CASS_USE_OPENSSL)
174- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations" )
173+ if (APPLE )
174+ set (CMAKE_MACOSX_RPATH 1)
175+ if (CASS_USE_OPENSSL)
176+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations" )
177+ endif ()
175178 endif ()
176179
177180 if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "Clang" )
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ set(_LIBUV_ROOT_HINTS ${LIBUV_ROOT_DIR}
2424if (NOT WIN32 )
2525 set (_LIBUV_ROOT_PATHS "/usr/"
2626 "/usr/local/" )
27+ if (APPLE )
28+ set (_LIBUV_ROOT_PATHS ${_LIBUV_ROOT_PATHS}
29+ "/opt/homebrew/" )
30+ endif ()
2731 if (_LIBUV_FOUND)
2832 set (_LIBUV_ROOT_PATHS ${_LIBUV_ROOT_PATHS}
2933 ${_LIBUV_LIBDIR} )
You can’t perform that action at this time.
0 commit comments