diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index a5db4e9532..ce2b7914a7 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -175,6 +175,7 @@ if(USE_MMAP) endif() if (IFCXML_SUPPORT) + find_package(LibXml2 REQUIRED) add_definitions(-DWITH_IFCXML) endif()