r185928 - c-index-test/CMakeLists.txt: Suggest -isystem to include libxml2 with include_directories(SYSTEM).
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jul 9 04:14:30 PDT 2013
Author: chapuni
Date: Tue Jul 9 06:14:30 2013
New Revision: 185928
URL: http://llvm.org/viewvc/llvm-project?rev=185928&view=rev
Log:
c-index-test/CMakeLists.txt: Suggest -isystem to include libxml2 with include_directories(SYSTEM).
Modified:
cfe/trunk/tools/c-index-test/CMakeLists.txt
Modified: cfe/trunk/tools/c-index-test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/CMakeLists.txt?rev=185928&r1=185927&r2=185928&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/CMakeLists.txt (original)
+++ cfe/trunk/tools/c-index-test/CMakeLists.txt Tue Jul 9 06:14:30 2013
@@ -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()
More information about the cfe-commits
mailing list