summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-11-27 12:34:36 -0800
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-11-27 12:36:25 -0800
commit340e7c0b77a7037afefe7255503afe362967b577 (patch)
tree0726552ea32d559df6146b6b61f9837e7709bea8 /llvm/cmake
parentdcceab1a0ace424ba4877f53c4c69433e53f1f3f (diff)
downloadbcm5719-llvm-340e7c0b77a7037afefe7255503afe362967b577.tar.gz
bcm5719-llvm-340e7c0b77a7037afefe7255503afe362967b577.zip
build: avoid hardcoding the libxml2 library name
FindLibXml2 will set the LIBXML2_LIBRARIES variable to the libraries that we must link against. This will be an empty string if libxml2 is not found. Avoid hardcoding the library name as xml2 in the configuration. Simplify the usage in the WindowsManifest library.
Diffstat (limited to 'llvm/cmake')
-rw-r--r--llvm/cmake/config-ix.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index 028a2cc86bf..e7e5e5dcf2f 100644
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -166,7 +166,6 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
else()
include_directories(${LIBXML2_INCLUDE_DIR})
endif()
- set(LIBXML2_LIBS "xml2")
endif()
endif()
endif()
OpenPOWER on IntegriCloud