Skip to content

Commit 24593f1

Browse files
authored
[lldb] build: cleanup extraneous include paths (#117615)
Clean up some unnecessary include paths. The use of `LibXml2::LibXml2` with `target_link_libraries` on `libLLDBHost` ensures that the header search path is properly propagated.
1 parent 969b765 commit 24593f1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lldb/cmake/modules/LLDBConfig.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ if (LLDB_ENABLE_LZMA)
239239
include_directories(${LIBLZMA_INCLUDE_DIRS})
240240
endif()
241241

242-
if (LLDB_ENABLE_LIBXML2)
243-
include_directories(${LIBXML2_INCLUDE_DIR})
244-
endif()
245-
246242
include_directories(BEFORE
247243
${CMAKE_CURRENT_BINARY_DIR}/include
248244
${CMAKE_CURRENT_SOURCE_DIR}/include
@@ -283,7 +279,6 @@ if (APPLE)
283279
find_library(FOUNDATION_LIBRARY Foundation)
284280
find_library(CORE_FOUNDATION_LIBRARY CoreFoundation)
285281
find_library(SECURITY_LIBRARY Security)
286-
include_directories(${LIBXML2_INCLUDE_DIR})
287282
endif()
288283

289284
if( WIN32 AND NOT CYGWIN )

0 commit comments

Comments
 (0)