Skip to content

Commit

Permalink
Merge pull request #34 from seanmadden/main
Browse files Browse the repository at this point in the history
Enable ARC support for apple/NSURLClient.mm
  • Loading branch information
slime73 authored Sep 4, 2024
2 parents 76d92e7 + 353f9e8 commit 678018b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
option (USE_OPENSSL_BACKEND "Use the openssl backend" OFF)
option (USE_SCHANNEL_BACKEND "Use the schannel backend (windows-only)" OFF)
option (USE_NSURL_BACKEND "Use the NSUrl backend (apple-only)" ON)

# Enabling ARC for apple/NSURLClient.mm
set_source_files_properties(apple/NSURLClient.mm PROPERTIES COMPILE_FLAGS "-fobjc-arc")

option (USE_ANDROID_BACKEND "Use the Android Java backend (Android-only)" OFF)
option (USE_WININET_BACKEND "Use the WinINet backend (windows-only)" OFF)

Expand Down

0 comments on commit 678018b

Please sign in to comment.