build: avoid cached literals being linked against
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 27 Nov 2019 20:55:46 +0000 (12:55 -0800)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 27 Nov 2019 20:55:46 +0000 (12:55 -0800)
commitcfcfd8a056eb7c01bc76b745ce9f7839f0dcbc42
tree6eb237ce83d81d9bf158533991610e73f5555b42
parent340e7c0b77a7037afefe7255503afe362967b577
build: avoid cached literals being linked against

If the value of the LibXml2 search is cached, it can cause an errant
link against LIBXML2_LIBRARIES-NOTFOUND if libxml2 is not found. Add
a guard against this.  Should repair the build bots.
llvm/lib/WindowsManifest/CMakeLists.txt