build: Check for libxml2

Fixes issue #1298

Signed-off-by: Priit Laes <plaes@plaes.org>
This commit is contained in:
Priit Laes
2021-02-06 23:41:37 +02:00
committed by Thomas Krijnen
parent b1e8e0a968
commit f51e0db7fe
+1
View File
@@ -175,6 +175,7 @@ if(USE_MMAP)
endif()
if (IFCXML_SUPPORT)
find_package(LibXml2 REQUIRED)
add_definitions(-DWITH_IFCXML)
endif()