--- CMakeLists.txt.orig	2026-05-28 18:58:56 UTC
+++ CMakeLists.txt
@@ -67,13 +67,13 @@ target_link_libraries( ${BIN_TARGET}
                        ${SLOP_LIBRARY}
                        ${WEBP_LIBRARY} )
 
-find_package(ICU COMPONENTS uc)
+find_package(ICU COMPONENTS i18n uc)
 set( MAIM_UNICODE TRUE CACHE BOOL "To enable or disable unicode support." )
 if ( MAIM_UNICODE AND ICU_FOUND )
 # ICU is required for old nvidia drivers to work for whatever reason.
   add_definitions(-DCXXOPTS_USE_UNICODE)
   include_directories( ${ICU_INCLUDE_DIR} )
-  target_link_libraries( ${BIN_TARGET} ${ICU_UC_LIBRARIES} )
+  target_link_libraries( ${BIN_TARGET} ${ICU_I18N_LIBRARIES} ${ICU_UC_LIBRARIES} )
 endif()
 
 install( TARGETS ${BIN_TARGET} DESTINATION "${CMAKE_INSTALL_BINDIR}" )
