mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
libxml2 no longer optional
This commit is contained in:
@@ -195,8 +195,10 @@ if(USE_MMAP)
|
|||||||
add_definitions(-DUSE_MMAP)
|
add_definitions(-DUSE_MMAP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# libxml2 is required for IFCXML (optional) and SVGFILL (mandatory)
|
||||||
|
find_package(LibXml2 REQUIRED)
|
||||||
|
|
||||||
if (IFCXML_SUPPORT)
|
if (IFCXML_SUPPORT)
|
||||||
find_package(LibXml2 REQUIRED)
|
|
||||||
add_definitions(-DWITH_IFCXML)
|
add_definitions(-DWITH_IFCXML)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -205,7 +207,6 @@ MESSAGE(STATUS "Boost include files found in ${Boost_INCLUDE_DIRS}")
|
|||||||
MESSAGE(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}")
|
MESSAGE(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
# set(SOME_LIRARIES foo bar)
|
# set(SOME_LIRARIES foo bar)
|
||||||
# add_debug_variants(SOME_LIRARIES "${SOME_LIRARIES}" d)
|
# add_debug_variants(SOME_LIRARIES "${SOME_LIRARIES}" d)
|
||||||
|
|||||||
Reference in New Issue
Block a user