We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 76d92e7 + 353f9e8 commit 678018bCopy full SHA for 678018b
src/CMakeLists.txt
@@ -116,6 +116,10 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
116
option (USE_OPENSSL_BACKEND "Use the openssl backend" OFF)
117
option (USE_SCHANNEL_BACKEND "Use the schannel backend (windows-only)" OFF)
118
option (USE_NSURL_BACKEND "Use the NSUrl backend (apple-only)" ON)
119
+
120
+ # Enabling ARC for apple/NSURLClient.mm
121
+ set_source_files_properties(apple/NSURLClient.mm PROPERTIES COMPILE_FLAGS "-fobjc-arc")
122
123
option (USE_ANDROID_BACKEND "Use the Android Java backend (Android-only)" OFF)
124
option (USE_WININET_BACKEND "Use the WinINet backend (windows-only)" OFF)
125
0 commit comments