fix: [macos] icudata missed in the final executable dependencies

This commit is contained in:
xiaoyifang 2024-11-18 15:40:34 +08:00
parent f60e3fa62f
commit ec1701bb3a

View file

@ -85,7 +85,7 @@ if (WITH_ZIM)
target_link_libraries(${GOLDENDICT} PRIVATE PkgConfig::ZIM)
if (APPLE)
set(ICU_ROOT "$(brew --prefix icu4c)")
set(ICU_ROOT "/usr/local/opt/")
# ICU
find_package(ICU REQUIRED COMPONENTS i18n data uc)