hunter_add_package(irrXML) find_package(irrXML CONFIG REQUIRED) target_link_libraries(... irrXML::irrXML)