This commit is contained in:
xiaoyifang 2024-11-19 15:54:54 +08:00
parent 61366e1a3c
commit f22085d1e8

View file

@ -100,7 +100,7 @@ if (WITH_ZIM)
# CMAKE_PREFIX_PATH # CMAKE_PREFIX_PATH
set(ICU_DEBUG ON) set(ICU_DEBUG ON)
set(ICU_ROOT "${BREW_OUTPUT}") set(ICU_ROOT "${BREW_OUTPUT}")
find_package(ICU REQUIRED COMPONENTS i18n data uc) find_package(ICU COMPONENTS i18n data uc)
message(STATUS "ICU_LIBRARIES: ${ICU_LIBRARIES}") message(STATUS "ICU_LIBRARIES: ${ICU_LIBRARIES}")
target_link_libraries(${GOLDENDICT} PRIVATE ${ICU_LIBRARIES}) target_link_libraries(${GOLDENDICT} PRIVATE ${ICU_LIBRARIES})