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 90c4f5c commit 70ce513Copy full SHA for 70ce513
CMakeLists.txt
@@ -150,6 +150,12 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "WASI")
150
"-I${DISPATCH_INCLUDE_PATH}/Block")
151
endif()
152
153
+if(ANDROID)
154
+ # LibXml2 looks for the Threads package, so
155
+ # ensure that it doesn't try to use the `-pthread`
156
+ # flag on Android.
157
+ set(CMAKE_HAVE_LIBC_PTHREAD YES)
158
+endif()
159
find_package(LibXml2 REQUIRED)
160
if(FOUNDATION_BUILD_NETWORKING)
161
find_package(CURL REQUIRED)
0 commit comments