r309189 - Clang and LLVM search for different versions of libxml2, reset found
Eric Beckmann via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 26 14:47:18 PDT 2017
Author: ecbeckmann
Date: Wed Jul 26 14:47:17 2017
New Revision: 309189
URL: http://llvm.org/viewvc/llvm-project?rev=309189&view=rev
Log:
Clang and LLVM search for different versions of libxml2, reset found
variable before each search so that they don't conflict.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=309189&r1=309188&r2=309189&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Jul 26 14:47:17 2017
@@ -181,6 +181,7 @@ endif()
# we can include cmake files from this directory.
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
+set (LIBXML2_FOUND 0)
find_package(LibXml2 2.5.3 QUIET)
if (LIBXML2_FOUND)
set(CLANG_HAVE_LIBXML 1)
More information about the cfe-commits
mailing list