File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ foreach(SDK ${SWIFT_SDKS})
218
218
set (validation_test_bin_dir
219
219
"${CMAKE_CURRENT_BINARY_DIR} /../validation-test${VARIANT_SUFFIX} " )
220
220
221
- if (LibXml2_FOUND )
221
+ if (LLVM_ENABLE_LIBXML2 )
222
222
set (SWIFT_HAVE_LIBXML2 TRUE )
223
223
else ()
224
224
set (SWIFT_HAVE_LIBXML2 FALSE )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ target_link_libraries(swift-ide-test
12
12
swiftIDE )
13
13
14
14
# If libxml2 is available, make it available for swift-ide-test.
15
- if (LibXml2_FOUND )
15
+ if (LLVM_ENABLE_LIBXML2 )
16
16
include_directories (SYSTEM ${LIBXML2_INCLUDE_DIR} )
17
17
target_link_libraries (swift-ide-test PRIVATE ${LIBXML2_LIBRARIES} )
18
18
target_compile_definitions (swift-ide-test PRIVATE SWIFT_HAVE_LIBXML=1 )
You can’t perform that action at this time.
0 commit comments