diff --git a/CMakeLists.txt b/CMakeLists.txt index 06f09b755e..7747880169 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ if(NOT OPTION_DEDICATED) find_package(Fontconfig) endif() find_package(Harfbuzz) - find_package(ICU OPTIONAL_COMPONENTS i18n) + find_package(ICU OPTIONAL_COMPONENTS i18n uc) endif() endif() endif() @@ -332,6 +332,7 @@ if(NOT OPTION_DEDICATED) link_package(Fontconfig TARGET Fontconfig::Fontconfig) link_package(Harfbuzz TARGET harfbuzz::harfbuzz) link_package(ICU_i18n) + link_package(ICU_uc) if(SDL2_FOUND AND OPENGL_FOUND AND UNIX) # SDL2 dynamically loads OpenGL if needed, so do not link to OpenGL when