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
170
170
171
171
# OpenSSL is deprecated on later versions of Mac OS X. The long-term solution
172
172
# 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 ()
175
178
endif ()
176
179
177
180
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}
24
24
if (NOT WIN32 )
25
25
set (_LIBUV_ROOT_PATHS "/usr/"
26
26
"/usr/local/" )
27
+ if (APPLE )
28
+ set (_LIBUV_ROOT_PATHS ${_LIBUV_ROOT_PATHS}
29
+ "/opt/homebrew/" )
30
+ endif ()
27
31
if (_LIBUV_FOUND )
28
32
set (_LIBUV_ROOT_PATHS ${_LIBUV_ROOT_PATHS}
29
33
${_LIBUV_LIBDIR} )
You can’t perform that action at this time.
0 commit comments