vcpkg/ports/llvm/fix-linux-build.patch

14 lines
420 B
Diff

diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 900c35e..78fd3cd 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -154,7 +154,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
else()
include_directories(${LIBXML2_INCLUDE_DIR})
endif()
- set(LIBXML2_LIBS "xml2")
+ set(LIBXML2_LIBS ${LIBXML2_LIBRARIES})
endif()
endif()
endif()