Skip to content

Commit

Permalink
[CFXMLInterface] Remove spurious include path. (swiftlang#5101)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
al45tair authored Oct 11, 2024
1 parent e55e1d8 commit 301bafe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/_CFXMLInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ target_include_directories(_CFXMLInterface
include
../CoreFoundation/include
PRIVATE
../CoreFoundation/internalInclude
${LIBXML2_INCLUDE_DIR})
../CoreFoundation/internalInclude)

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

0 comments on commit 301bafe

Please sign in to comment.