mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
cmake - search for LibXml2 only with IFCXML_SUPPORT #2035
This commit is contained in:
@@ -362,7 +362,9 @@ message(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}")
|
||||
if(NOT MINIMAL_BUILD)
|
||||
# libxml2 is required for IFCXML (optional) and SVGFILL (mandatory)
|
||||
clear_wasm_sysroot()
|
||||
find_package(LibXml2 REQUIRED)
|
||||
if(IFCXML_SUPPORT)
|
||||
find_package(LibXml2 REQUIRED)
|
||||
endif()
|
||||
restore_wasm_sysroot()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user