diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-01 03:00:53 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-01 03:00:53 +0000 |
commit | 16fea4a91a5b0f4a60732e854d731241becb695d (patch) | |
tree | dc9b64dc773bce433e2c25e2000b61d7559ecee7 /openttd-14.1-link-against-icu-uc.patch | |
parent | e0e9761e319b6f8fd3bc838f49d8fd07feafea1f (diff) |
automatic import of openttdopeneuler24.03_LTS
Diffstat (limited to 'openttd-14.1-link-against-icu-uc.patch')
-rw-r--r-- | openttd-14.1-link-against-icu-uc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/openttd-14.1-link-against-icu-uc.patch b/openttd-14.1-link-against-icu-uc.patch new file mode 100644 index 0000000..ada23bb --- /dev/null +++ b/openttd-14.1-link-against-icu-uc.patch @@ -0,0 +1,19 @@ +--- openttd-14.1/CMakeLists.txt.orig 2024-11-01 09:10:31.760952957 +0800 ++++ openttd-14.1/CMakeLists.txt 2024-11-01 09:14:32.607945862 +0800 +@@ -152,7 +152,7 @@ + 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 @@ + 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 |