Use the bundled find modules for ICU and EXPAT when CMake version is < 3.10
MODIFY
builds/liblcf-config.cmake.in
builds/liblcf-config.cmake.in
@@ -66,6 +66,11 @@ if(LIBLCF_FOUND)
if(NOT TARGET liblcf::liblcf)
add_library(liblcf::liblcf UNKNOWN IMPORTED)
+ if(${CMAKE_VERSION} VERSION_LESS "3.10")
+ include("${CMAKE_CURRENT_LIST_DIR}/FindICU.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/FindEXPAT.cmake")
+ endif()
+
set(LIBLCF_LIBRARY_DEPS "@AX_PACKAGE_REQUIRES_PRIVATE@")
string(REPLACE " " ";" LIBLCF_LIBRARY_DEPS "${LIBLCF_LIBRARY_DEPS}")

Use the bundled find modules for ICU and EXPAT when CMake version is < 3.10