Skip to content
Snippets Groups Projects
Commit 53a015be authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

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
parent 8b8f6211
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,6 @@ set_target_properties(c-index-test ...@@ -24,6 +24,6 @@ set_target_properties(c-index-test
# If libxml2 is available, make it available for c-index-test. # If libxml2 is available, make it available for c-index-test.
if (CLANG_HAVE_LIBXML) if (CLANG_HAVE_LIBXML)
include_directories(${LIBXML2_INCLUDE_DIR}) include_directories(SYSTEM ${LIBXML2_INCLUDE_DIR})
target_link_libraries(c-index-test ${LIBXML2_LIBRARIES}) target_link_libraries(c-index-test ${LIBXML2_LIBRARIES})
endif() endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment