From b3c25ea022e2404005d68901269f11b70e3bfb8d Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Fri, 11 Oct 2024 13:42:44 +0100 Subject: [PATCH] [CFXMLInterface] Remove spurious include path. The include path for libxml2 should be being set automatically by CMake because of the `target_link_libraries()` call; there is no need to add it explicitly. rdar://137567628 --- Sources/_CFXMLInterface/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/_CFXMLInterface/CMakeLists.txt b/Sources/_CFXMLInterface/CMakeLists.txt index 1a7144fd1a..80c7520594 100644 --- a/Sources/_CFXMLInterface/CMakeLists.txt +++ b/Sources/_CFXMLInterface/CMakeLists.txt @@ -19,8 +19,7 @@ target_include_directories(_CFXMLInterface include ../CoreFoundation/include PRIVATE - ../CoreFoundation/internalInclude - ${LIBXML2_INCLUDE_DIR}) + ../CoreFoundation/internalInclude) target_compile_options(_CFXMLInterface INTERFACE "$<$:SHELL:-Xcc -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR}/../CoreFoundation/include/module.modulemap>"