mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: [macos] icudata missed in the final executable dependencies
This commit is contained in:
parent
f60e3fa62f
commit
ec1701bb3a
|
@ -85,7 +85,7 @@ if (WITH_ZIM)
|
||||||
target_link_libraries(${GOLDENDICT} PRIVATE PkgConfig::ZIM)
|
target_link_libraries(${GOLDENDICT} PRIVATE PkgConfig::ZIM)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(ICU_ROOT "$(brew --prefix icu4c)")
|
set(ICU_ROOT "/usr/local/opt/")
|
||||||
|
|
||||||
# 查找 ICU 库
|
# 查找 ICU 库
|
||||||
find_package(ICU REQUIRED COMPONENTS i18n data uc)
|
find_package(ICU REQUIRED COMPONENTS i18n data uc)
|
||||||
|
|
Loading…
Reference in a new issue