cmake - remove wasm_sysroot as superseded by e833d0c

This commit is contained in:
Andrej730
2025-11-19 19:38:45 +05:00
parent bd07078def
commit 5e6b96ee99
3 changed files with 0 additions and 32 deletions
-2
View File
@@ -16,9 +16,7 @@ list(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR})
if((NOT LIBXML2_INCLUDE_DIR AND NOT LIBXML2_LIBRARIES))
# First try config mode (probably works with vcpkg, Conan, macOS brew installs, but not on ubuntu 22.04)
# CONFIG is provided using root path, so no need to clear sysroot here.
restore_wasm_sysroot()
find_package(LibXml2 QUIET CONFIG)
clear_wasm_sysroot()
if(NOT LibXml2_FOUND)
# Fallback to CMake's builtin FindLibXml2 module (works on Ubuntu)