We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 525d916 + 57afdab commit 6331a7bCopy full SHA for 6331a7b
tools/swift-ide-test/CMakeLists.txt
@@ -17,12 +17,8 @@ target_link_libraries(swift-ide-test
17
18
# If libxml2 is available, make it available for swift-ide-test.
19
if(LLVM_ENABLE_LIBXML2)
20
- include_directories(SYSTEM ${LIBXML2_INCLUDE_DIR})
21
- target_link_libraries(swift-ide-test PRIVATE ${LIBXML2_LIBRARIES})
+ target_link_libraries(swift-ide-test PRIVATE LibXml2::LibXml2)
22
target_compile_definitions(swift-ide-test PRIVATE SWIFT_HAVE_LIBXML=1)
23
- if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT CMAKE_CROSSCOMPILING)
24
- include_directories(SYSTEM "/usr/local/include")
25
- endif()
26
endif()
27
28
# Create a symlink for swift-api-dump.py in the bin directory
0 commit comments