libxml2 no longer optional

This commit is contained in:
Thomas Krijnen
2021-08-31 10:54:46 +02:00
parent 88f7d307b8
commit dbf6a1dda9
+3 -2
View File
@@ -195,8 +195,10 @@ if(USE_MMAP)
add_definitions(-DUSE_MMAP)
endif()
# libxml2 is required for IFCXML (optional) and SVGFILL (mandatory)
find_package(LibXml2 REQUIRED)
if (IFCXML_SUPPORT)
find_package(LibXml2 REQUIRED)
add_definitions(-DWITH_IFCXML)
endif()
@@ -205,7 +207,6 @@ MESSAGE(STATUS "Boost include files found in ${Boost_INCLUDE_DIRS}")
MESSAGE(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}")
# Usage:
# set(SOME_LIRARIES foo bar)
# add_debug_variants(SOME_LIRARIES "${SOME_LIRARIES}" d)