mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-18 13:14:34 +00:00
Fix: build with icu >= 76 where icu-i18n and icu-uc become separated (#13048)
This commit is contained in:
parent
9da6cd4817
commit
14fac2ad37
@ -152,7 +152,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()
|
||||
@ -331,6 +331,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
|
||||
|
Loading…
Reference in New Issue
Block a user