From 53a015be76f53430cf8a3f42cf76562cf2ff3e54 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 9 Jul 2013 11:14:30 +0000 Subject: c-index-test/CMakeLists.txt: Suggest -isystem to include libxml2 with include_directories(SYSTEM). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185928 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/c-index-test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/c-index-test') diff --git a/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt index d90dc6d95c..d850411f33 100644 --- a/tools/c-index-test/CMakeLists.txt +++ b/tools/c-index-test/CMakeLists.txt @@ -24,6 +24,6 @@ set_target_properties(c-index-test # If libxml2 is available, make it available for c-index-test. if (CLANG_HAVE_LIBXML) - include_directories(${LIBXML2_INCLUDE_DIR}) + include_directories(SYSTEM ${LIBXML2_INCLUDE_DIR}) target_link_libraries(c-index-test ${LIBXML2_LIBRARIES}) endif() -- cgit v1.2.3