mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
[CMake] Move libxml2 stuff from clang to llvm/cmake.
llvm-svn: 170225
This commit is contained in:
parent
c895316923
commit
bdad03688b
@ -294,6 +294,11 @@ else()
|
||||
set(ENABLE_PIC 0)
|
||||
endif()
|
||||
|
||||
find_package(LibXml2)
|
||||
if (LIBXML2_FOUND)
|
||||
set(CLANG_HAVE_LIBXML 1)
|
||||
endif ()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
check_cxx_compiler_flag("-Wno-variadic-macros" SUPPORTS_NO_VARIADIC_MACROS_FLAG)
|
||||
|
@ -6,6 +6,9 @@
|
||||
/* Bug report URL. */
|
||||
#define BUG_REPORT_URL "${BUG_REPORT_URL}"
|
||||
|
||||
/* Define if we have libxml2 */
|
||||
#cmakedefine CLANG_HAVE_LIBXML ${CLANG_HAVE_LIBXML}
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#define CLANG_RESOURCE_DIR "${CLANG_RESOURCE_DIR}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user