We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b670429 commit 4edb2bbCopy full SHA for 4edb2bb
util/CMakeLists.txt
@@ -245,8 +245,17 @@ if(ANDROID)
245
endif()
246
247
if(LINUX OR ANDROID)
248
+ if (LINUX)
249
+ find_package(CURL REQUIRED)
250
+ target_include_directories(crashpad_util PRIVATE ${CURL_INCLUDE_DIRS})
251
+ target_link_libraries(crashpad_util PRIVATE ${CURL_LIBRARIES})
252
+ SET(HTTP_TRANSPORT_IMPL net/http_transport_libcurl.cc)
253
+ else()
254
+ SET(HTTP_TRANSPORT_IMPL net/http_transport_socket.cc)
255
+ endif()
256
+
257
target_sources(crashpad_util PRIVATE
- net/http_transport_socket.cc
258
+ ${HTTP_TRANSPORT_IMPL}
259
linux/address_types.h
260
linux/auxiliary_vector.cc
261
linux/auxiliary_vector.h
0 commit comments