summaryrefslogtreecommitdiff
path: root/tools/c-index-test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-07-09 11:14:30 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-07-09 11:14:30 +0000
commit53a015be76f53430cf8a3f42cf76562cf2ff3e54 (patch)
tree813bf965f24516a45b290634a991e2dd7eb9114d /tools/c-index-test
parent8b8f6211956f55c9aa95a2f8145da79c46c5374b (diff)
downloadclang-53a015be76f53430cf8a3f42cf76562cf2ff3e54.tar.gz
clang-53a015be76f53430cf8a3f42cf76562cf2ff3e54.tar.bz2
clang-53a015be76f53430cf8a3f42cf76562cf2ff3e54.tar.xz
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
Diffstat (limited to 'tools/c-index-test')
-rw-r--r--tools/c-index-test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()