From: NAKAMURA Takumi Date: Tue, 9 Jul 2013 11:14:30 +0000 (+0000) Subject: c-index-test/CMakeLists.txt: Suggest -isystem to include libxml2 with include_directo... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53a015be76f53430cf8a3f42cf76562cf2ff3e54;p=clang 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 --- 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()