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 34f3548 commit 9e47401Copy full SHA for 9e47401
llvm/cmake/modules/FindLibXml2.cmake
@@ -25,6 +25,11 @@ find_library(LIBXML2_SHARED_LIBRARY NAMES xml2 libxml2 libxml2_a
25
${PC_LIBXML_LIBRARY_DIRS}
26
)
27
28
+# This is a system lib on macOS, so we don't need to avoid the dependency
29
+if(APPLE)
30
+ set(LLVM_USE_STATIC_LIBXML2 OFF)
31
+endif()
32
+
33
if(LLVM_USE_STATIC_LIBXML2)
34
set(_original_suffixes ${CMAKE_FIND_LIBRARY_SUFFIXES})
35
if(UNIX)
0 commit comments