File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ macro(FIND_CURL)
5959 find_package (CURL REQUIRED)
6060 endif (NOT WIN32 AND NOT APPLE AND CURL_STATICLIB)
6161
62+ if ( APPLE AND NOT "${CURL_VERSION_STRING} " VERSION_LESS "7.77.0" )
63+ list ( APPEND CURL_LIBRARIES "-framework CoreFoundation" )
64+ list ( APPEND CURL_LIBRARIES "-framework SystemConfiguration" )
65+ endif ()
66+
67+ message (STATUS "CURL libraries: ${CURL_LIBRARIES} " )
68+
6269 if ( WIN32 )
6370 if ( MSVC )
6471 list ( APPEND CURL_LIBRARIES Wldap32 )
@@ -261,7 +268,7 @@ else( WIN32 ) # Apple AND Linux
261268
262269 if ( APPLE )
263270 # Apple Specific Options Here
264- message ( STATUS "Configuring BitShares on OS X " )
271+ message ( STATUS "Configuring BitShares on macOS " )
265272 set ( CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -stdlib=libc++ -Wall -fvisibility-inlines-hidden -fvisibility=hidden" )
266273 else ( APPLE )
267274 if ( "${CMAKE_SYSTEM_NAME} " STREQUAL "OpenBSD" )
You can’t perform that action at this time.
0 commit comments