Skip to content

Commit 301bafe

Browse files
authored
[CFXMLInterface] Remove spurious include path. (#5101)
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
1 parent e55e1d8 commit 301bafe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/_CFXMLInterface/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ target_include_directories(_CFXMLInterface
1919
include
2020
../CoreFoundation/include
2121
PRIVATE
22-
../CoreFoundation/internalInclude
23-
${LIBXML2_INCLUDE_DIR})
22+
../CoreFoundation/internalInclude)
2423

2524
target_compile_options(_CFXMLInterface INTERFACE
2625
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR}/../CoreFoundation/include/module.modulemap>"

0 commit comments

Comments
 (0)