[all-commits] [llvm/llvm-project] 340e7c: build: avoid hardcoding the libxml2 library name

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Nov 27 12:36:46 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 340e7c0b77a7037afefe7255503afe362967b577
      https://github.com/llvm/llvm-project/commit/340e7c0b77a7037afefe7255503afe362967b577
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M llvm/cmake/config-ix.cmake
    M llvm/lib/WindowsManifest/CMakeLists.txt

  Log Message:
  -----------
  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.




More information about the All-commits mailing list