This commit is contained in:
xiaoyifang 2024-11-19 15:59:22 +08:00
parent 99a58450f6
commit a10a0c2674

View file

@ -85,6 +85,7 @@ if (WITH_ZIM)
OUTPUT_VARIABLE LIBZIM_PATH OUTPUT_VARIABLE LIBZIM_PATH
) )
message(STATUS "zim path:${LIBZIM_PATH}")
# ICU from homebrew is "key-only", we need to manually prioritize it -> see `brew info icu4c` # ICU from homebrew is "key-only", we need to manually prioritize it -> see `brew info icu4c`
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${LIBZIM_PATH}/lib/pkgconfig") set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${LIBZIM_PATH}/lib/pkgconfig")
endif () endif ()